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/tests/phpunit/tests/ajax/TagSearch.php

    r41870 r42343  
    1818    /**
    1919     * List of terms to insert on setup
     20     *
    2021     * @var array
    2122     */
    2223    private static $terms = array(
    23         'chattels', 'depo', 'energumen', 'figuriste', 'habergeon', 'impropriation'
     24        'chattels',
     25        'depo',
     26        'energumen',
     27        'figuriste',
     28        'habergeon',
     29        'impropriation',
    2430    );
    2531
     
    6571        // Set up a default request
    6672        $_GET['tax'] = 'post_tag';
    67         $_GET['q']   = md5(uniqid());
     73        $_GET['q']   = md5( uniqid() );
    6874
    6975        // Make the request
Note: See TracChangeset for help on using the changeset viewer.