Make WordPress Core


Ignore:
Timestamp:
12/16/2016 10:07:41 PM (8 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Improves code readability and code standards in files

Adds better DocBlock comments and fixes some spacing issues based on PHP_CodeSniffer WordPress coding standards.

Props sstoqnov.

Fixes #39152.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php

    r39384 r39618  
    2222            <?php endif; ?>
    2323
    24             <?php $description = get_bloginfo( 'description', 'display' );
    25                 if ( $description || is_customize_preview() ) : ?>
    26                     <p class="site-description"><?php echo $description; ?></p>
    27                 <?php endif; ?>
     24            <?php
     25            $description = get_bloginfo( 'description', 'display' );
     26
     27            if ( $description || is_customize_preview() ) :
     28            ?>
     29                <p class="site-description"><?php echo $description; ?></p>
     30            <?php endif; ?>
    2831        </div><!-- .site-branding-text -->
    2932
Note: See TracChangeset for help on using the changeset viewer.