WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (4 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/tag.php

    r41349 r42343  
    2525                    // Show an optional term description.
    2626                    $term_description = term_description();
    27                     if ( ! empty( $term_description ) ) :
    28                         printf( '<div class="taxonomy-description">%s</div>', $term_description );
     27                if ( ! empty( $term_description ) ) :
     28                    printf( '<div class="taxonomy-description">%s</div>', $term_description );
    2929                    endif;
    3030                ?>
     
    3333            <?php
    3434                    // Start the Loop.
    35                     while ( have_posts() ) : the_post();
     35            while ( have_posts() ) :
     36                the_post();
    3637
    37                         /*
    38                         * Include the post format-specific template for the content. If you want to
    39                         * use this in a child theme, then include a file called content-___.php
    40                         * (where ___ is the post format) and that will be used instead.
    41                         */
    42                         get_template_part( 'content', get_post_format() );
     38                /*
     39                * Include the post format-specific template for the content. If you want to
     40                * use this in a child theme, then include a file called content-___.php
     41                * (where ___ is the post format) and that will be used instead.
     42                */
     43                get_template_part( 'content', get_post_format() );
    4344
    4445                    endwhile;
Note: See TracChangeset for help on using the changeset viewer.