Customize: Rename remaining instances unfiltered_css
meta capability to edit_css
in unit tests.
Amends [39175]. See #38672, #35395. git-svn-id: https://develop.svn.wordpress.org/trunk@39178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cd5572b67a
commit
cebc30dd67
@ -237,7 +237,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
'manage_post_tags' => array( 'administrator', 'editor' ),
|
||||
'edit_post_tags' => array( 'administrator', 'editor' ),
|
||||
'delete_post_tags' => array( 'administrator', 'editor' ),
|
||||
'unfiltered_css' => array( 'administrator', 'editor' ),
|
||||
'edit_css' => array( 'administrator', 'editor' ),
|
||||
|
||||
'assign_categories' => array( 'administrator', 'editor', 'author', 'contributor' ),
|
||||
'assign_post_tags' => array( 'administrator', 'editor', 'author', 'contributor' ),
|
||||
@ -256,7 +256,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
'manage_network_options' => array(),
|
||||
'upload_plugins' => array(),
|
||||
'upload_themes' => array(),
|
||||
'unfiltered_css' => array(),
|
||||
'edit_css' => array(),
|
||||
|
||||
'customize' => array( 'administrator' ),
|
||||
'delete_site' => array( 'administrator' ),
|
||||
|
Loading…
Reference in New Issue
Block a user