Use strict comparison

This commit is contained in:
IanDelMar 2019-11-12 08:56:12 +01:00
parent 91cba1ccac
commit b64ba79f79
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<nav class="navbar navbar-expand-md navbar-dark bg-primary">
<?php if ( 'container' == $container ) : ?>
<?php if ( 'container' === $container ) : ?>
<div class="container">
<?php endif; ?>
@ -71,7 +71,7 @@ $container = get_theme_mod( 'understrap_container_type' );
'walker' => new Understrap_WP_Bootstrap_Navwalker(),
)
); ?>
<?php if ( 'container' == $container ) : ?>
<?php if ( 'container' === $container ) : ?>
</div><!-- .container -->
<?php endif; ?>