Merge pull request #1064 from IanDelMar/header-strict-comparision

Use strict comparison
This commit is contained in:
UnderstrapFramework 2019-12-13 11:05:15 +00:00 committed by GitHub
commit 063e91e2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<nav id="main-nav" class="navbar navbar-expand-md navbar-dark bg-primary">
<?php if ( 'container' == $container ) : ?>
<?php if ( 'container' === $container ) : ?>
<div class="container">
<?php endif; ?>
@ -70,7 +70,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; ?>