Make WordPress Core


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

    r40979 r42343  
    1919        // Ensure that there is a term with ID 1.
    2020        if ( ! get_term( 1 ) ) {
    21             $wpdb->insert( $wpdb->terms, array(
    22                 'term_id' => 1,
    23             ) );
     21            $wpdb->insert(
     22                $wpdb->terms, array(
     23                    'term_id' => 1,
     24                )
     25            );
    2426
    25             $wpdb->insert( $wpdb->term_taxonomy, array(
    26                 'term_id' => 1,
    27                 'taxonomy' => 'wptests_tax',
    28             ) );
     27            $wpdb->insert(
     28                $wpdb->term_taxonomy, array(
     29                    'term_id'  => 1,
     30                    'taxonomy' => 'wptests_tax',
     31                )
     32            );
    2933
    3034            clean_term_cache( 1, 'wptests_tax' );
Note: See TracChangeset for help on using the changeset viewer.