Make WordPress Core

Changeset 49833


Ignore:
Timestamp:
12/18/2020 12:26:21 AM (6 years ago)
Author:
peterwilsoncc
Message:

Coding Standards: Minor fixes following [49830].

Fixes the fixes missed in [49832]. They are fixed now.

See #13509, #48968, #48556.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/query/postStatus.php

    r49830 r49833  
    470470                        array(
    471471                                'exclude_from_search' => false,
    472                                 'capabilities'        => [
     472                                'capabilities'        => array(
    473473                                        'read_private_posts' => 'read_private_pt1s',
    474                                 ],
     474                                ),
    475475                        )
    476476                );
     
    550550                        array(
    551551                                'exclude_from_search' => false,
    552                                 'capabilities'        => [
     552                                'capabilities'        => array(
    553553                                        'read_private_posts' => 'read_private_pt1s',
    554                                 ],
     554                                ),
    555555                        )
    556556                );
     
    612612                $q = new WP_Query(
    613613                        array(
    614                                 'post_type' => [ 'wptests_pt1', 'wptests_pt2' ],
     614                                'post_type' => array( 'wptests_pt1', 'wptests_pt2' ),
    615615                        )
    616616                );
Note: See TracChangeset for help on using the changeset viewer.