Role/Capability: Add create_sites
and delete_sites
to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests.
See #32394, #36413 git-svn-id: https://develop.svn.wordpress.org/trunk@37157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7ef7a98dd1
commit
6c79b715bd
@ -59,6 +59,8 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
|
||||
'unfiltered_html' => array( 'administrator', 'editor' ),
|
||||
|
||||
'create_sites' => array(),
|
||||
'delete_sites' => array(),
|
||||
'manage_network' => array(),
|
||||
'manage_sites' => array(),
|
||||
'manage_network_users' => array(),
|
||||
@ -148,6 +150,8 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
|
||||
'unfiltered_html' => array(),
|
||||
|
||||
'create_sites' => array(),
|
||||
'delete_sites' => array(),
|
||||
'manage_network' => array(),
|
||||
'manage_sites' => array(),
|
||||
'manage_network_users' => array(),
|
||||
|
Loading…
Reference in New Issue
Block a user