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/taxonomy-post_format.php

    r41349 r42343  
    2727                <h1 class="archive-title">
    2828                    <?php
    29                         if ( is_tax( 'post_format', 'post-format-aside' ) ) :
    30                             _e( 'Asides', 'twentyfourteen' );
     29                    if ( is_tax( 'post_format', 'post-format-aside' ) ) :
     30                        _e( 'Asides', 'twentyfourteen' );
    3131
    3232                        elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
     
    5858            <?php
    5959                    // Start the Loop.
    60                     while ( have_posts() ) : the_post();
     60            while ( have_posts() ) :
     61                the_post();
    6162
    62                         /*
    63                         * Include the post format-specific template for the content. If you want to
    64                         * use this in a child theme, then include a file called content-___.php
    65                         * (where ___ is the post format) and that will be used instead.
    66                         */
    67                         get_template_part( 'content', get_post_format() );
     63                /*
     64                * Include the post format-specific template for the content. If you want to
     65                * use this in a child theme, then include a file called content-___.php
     66                * (where ___ is the post format) and that will be used instead.
     67                */
     68                get_template_part( 'content', get_post_format() );
    6869
    6970                    endwhile;
Note: See TracChangeset for help on using the changeset viewer.