fixing some PHPCBF issues
This commit is contained in:
parent
57abacf3bd
commit
b0fcba1829
|
@ -4,7 +4,6 @@
|
|||
*
|
||||
* @package understrap
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<?php if ( is_active_sidebar('hero') or is_active_sidebar('statichero')) : ?>
|
||||
|
|
|
@ -30,7 +30,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
|||
<!-- ******************* The Navbar Area ******************* -->
|
||||
<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>
|
||||
|
||||
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse">
|
||||
|
@ -40,8 +40,8 @@ $container = get_theme_mod( 'understrap_container_type' );
|
|||
<?php endif; ?>
|
||||
|
||||
<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>
|
||||
</button>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<!-- Your site title as branding in the menu -->
|
||||
<?php if ( ! has_custom_logo() ) { ?>
|
||||
|
@ -79,4 +79,5 @@ $container = get_theme_mod( 'understrap_container_type' );
|
|||
|
||||
</nav><!-- .site-navigation -->
|
||||
|
||||
</div><!-- .wrapper-navbar end -->
|
||||
</div><!-- .wrapper-navbar end -->
|
||||
|
|
@ -44,7 +44,7 @@ if ( ! function_exists( 'adjust_body_class' ) ) {
|
|||
function adjust_body_class( $classes ) {
|
||||
|
||||
foreach ( $classes as $key => $value ) {
|
||||
if ( $value == 'tag' ) {
|
||||
if ( 'tag' == $value) {
|
||||
unset( $classes[ $key ] );
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue