mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Coding Standards: Minor fixes following [49830].
Fixes the fixes missed in [49832]. They are fixed now. See #13509, #48968, #48556. git-svn-id: https://develop.svn.wordpress.org/trunk@49833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -469,9 +469,9 @@ class Tests_Query_PostStatus extends WP_UnitTestCase {
|
||||
'wptests_pt1',
|
||||
array(
|
||||
'exclude_from_search' => false,
|
||||
'capabilities' => [
|
||||
'capabilities' => array(
|
||||
'read_private_posts' => 'read_private_pt1s',
|
||||
],
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -549,9 +549,9 @@ class Tests_Query_PostStatus extends WP_UnitTestCase {
|
||||
'wptests_pt1',
|
||||
array(
|
||||
'exclude_from_search' => false,
|
||||
'capabilities' => [
|
||||
'capabilities' => array(
|
||||
'read_private_posts' => 'read_private_pt1s',
|
||||
],
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -611,7 +611,7 @@ class Tests_Query_PostStatus extends WP_UnitTestCase {
|
||||
|
||||
$q = new WP_Query(
|
||||
array(
|
||||
'post_type' => [ 'wptests_pt1', 'wptests_pt2' ],
|
||||
'post_type' => array( 'wptests_pt1', 'wptests_pt2' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user