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/post/wpPost.php

    r39992 r42343  
    1212        // Ensure that there is a post with ID 1.
    1313        if ( ! get_post( 1 ) ) {
    14             $wpdb->insert( $wpdb->posts, array(
    15                 'ID' => 1,
    16                 'post_title' => 'Post 1',
    17             ) );
     14            $wpdb->insert(
     15                $wpdb->posts, array(
     16                    'ID'         => 1,
     17                    'post_title' => 'Post 1',
     18                )
     19            );
    1820        }
    1921
Note: See TracChangeset for help on using the changeset viewer.