Skip to content

Commit 57fb74d

Browse files
committed
Fix PHPCS Errors
1 parent ca71d45 commit 57fb74d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/wp-content/themes/twentysixteen/header.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
<div class="site-header-main">
3737
<div class="site-branding">
3838
<?php twentysixteen_the_custom_logo(); ?>
39-
<?php
39+
<?php
4040
$is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) );
41-
41+
4242
if ( ! empty( get_bloginfo( 'name' ) ) ) :
43-
if ( is_front_page() && is_home() ) :
44-
?>
45-
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a></h1>
46-
<?php else : ?>
47-
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a></p>
48-
<?php
43+
if ( is_front_page() && is_home() ) :
44+
?>
45+
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a></h1>
46+
<?php else : ?>
47+
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>><?php bloginfo( 'name' ); ?></a></p>
48+
<?php
4949
endif;
5050
endif;
5151

0 commit comments

Comments
 (0)