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/tests/phpunit/tests/xmlrpc/mt/getRecentPostTitles.php

    r40417 r42343  
    3838        $this->assertNotIXRError( $results );
    3939
    40         foreach( $results as $result ) {
    41             $post = get_post( $result['postid'] );
     40        foreach ( $results as $result ) {
     41            $post     = get_post( $result['postid'] );
    4242            $date_gmt = strtotime( get_gmt_from_date( mysql2date( 'Y-m-d H:i:s', $post->post_date, false ), 'Ymd\TH:i:s' ) );
    4343
Note: See TracChangeset for help on using the changeset viewer.