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/featured-content.php

    r31250 r42343  
    2020
    2121        $featured_posts = twentyfourteen_get_featured_posts();
    22         foreach ( (array) $featured_posts as $order => $post ) :
    23             setup_postdata( $post );
     22    foreach ( (array) $featured_posts as $order => $post ) :
     23        setup_postdata( $post );
    2424
    25             // Include the featured content template.
    26             get_template_part( 'content', 'featured-post' );
     25        // Include the featured content template.
     26        get_template_part( 'content', 'featured-post' );
    2727        endforeach;
    2828
Note: See TracChangeset for help on using the changeset viewer.