Make WordPress Core


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

    r41349 r42343  
    2828                <h1 class="page-title">
    2929                    <?php
    30                         if ( is_day() ) :
    31                             printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() );
     30                    if ( is_day() ) :
     31                        printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() );
    3232
    3333                        elseif ( is_month() ) :
     
    4747            <?php
    4848                    // Start the Loop.
    49                     while ( have_posts() ) : the_post();
     49            while ( have_posts() ) :
     50                the_post();
    5051
    51                         /*
    52                         * Include the post format-specific template for the content. If you want to
    53                         * use this in a child theme, then include a file called content-___.php
    54                         * (where ___ is the post format) and that will be used instead.
    55                         */
    56                         get_template_part( 'content', get_post_format() );
     52                /*
     53                * Include the post format-specific template for the content. If you want to
     54                * use this in a child theme, then include a file called content-___.php
     55                * (where ___ is the post format) and that will be used instead.
     56                */
     57                get_template_part( 'content', get_post_format() );
    5758
    5859                    endwhile;
Note: See TracChangeset for help on using the changeset viewer.