Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 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/single.php

    r41349 r42343  
    1414            <?php
    1515                // Start the Loop.
    16                 while ( have_posts() ) : the_post();
     16            while ( have_posts() ) :
     17                the_post();
    1718
    18                     /*
    19                     * Include the post format-specific template for the content. If you want to
    20                     * use this in a child theme, then include a file called content-___.php
    21                     * (where ___ is the post format) and that will be used instead.
    22                     */
    23                     get_template_part( 'content', get_post_format() );
     19                /*
     20                * Include the post format-specific template for the content. If you want to
     21                * use this in a child theme, then include a file called content-___.php
     22                * (where ___ is the post format) and that will be used instead.
     23                */
     24                get_template_part( 'content', get_post_format() );
    2425
    25                     // Previous/next post navigation.
    26                     twentyfourteen_post_nav();
     26                // Previous/next post navigation.
     27                twentyfourteen_post_nav();
    2728
    28                     // If comments are open or we have at least one comment, load up the comment template.
    29                     if ( comments_open() || get_comments_number() ) {
    30                         comments_template();
    31                     }
     29                // If comments are open or we have at least one comment, load up the comment template.
     30                if ( comments_open() || get_comments_number() ) {
     31                    comments_template();
     32                }
    3233                endwhile;
    3334            ?>
Note: See TracChangeset for help on using the changeset viewer.