fixing some PHPCBF issues

This commit is contained in:
koenemann 2017-01-27 08:15:34 +01:00
parent 57abacf3bd
commit b0fcba1829
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,6 @@
* *
* @package understrap * @package understrap
*/ */
?> ?>
<?php if ( is_active_sidebar('hero') or is_active_sidebar('statichero')) : ?> <?php if ( is_active_sidebar('hero') or is_active_sidebar('statichero')) : ?>

View File

@ -30,7 +30,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<!-- ******************* The Navbar Area ******************* --> <!-- ******************* The Navbar Area ******************* -->
<div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar"> <div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar">
<a class="skip-link screen-reader-text sr-only" href="#content"><?php _e( 'Skip to content', <a class="skip-link screen-reader-text sr-only" href="#content"><?php esc_html_e( 'Skip to content',
'understrap' ); ?></a> 'understrap' ); ?></a>
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse"> <nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse">
@ -40,8 +40,8 @@ $container = get_theme_mod( 'understrap_container_type' );
<?php endif; ?> <?php endif; ?>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<!-- Your site title as branding in the menu --> <!-- Your site title as branding in the menu -->
<?php if ( ! has_custom_logo() ) { ?> <?php if ( ! has_custom_logo() ) { ?>
@ -80,3 +80,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</nav><!-- .site-navigation --> </nav><!-- .site-navigation -->
</div><!-- .wrapper-navbar end --> </div><!-- .wrapper-navbar end -->

View File

@ -44,7 +44,7 @@ if ( ! function_exists( 'adjust_body_class' ) ) {
function adjust_body_class( $classes ) { function adjust_body_class( $classes ) {
foreach ( $classes as $key => $value ) { foreach ( $classes as $key => $value ) {
if ( $value == 'tag' ) { if ( 'tag' == $value) {
unset( $classes[ $key ] ); unset( $classes[ $key ] );
} }
} }