mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-09 03:30:06 +00:00
Correct a capability name in the roles and capabilities mapping. The delete_others_pages key was missing, and the delete_others_posts key was duplicated.
Introduced in [32812]. See #32394. git-svn-id: https://develop.svn.wordpress.org/trunk@34449 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -82,7 +82,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
'edit_published_pages' => array( 'administrator', 'editor' ),
|
||||
'publish_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_others_posts' => array( 'administrator', 'editor' ),
|
||||
'delete_others_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_published_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_others_posts' => array( 'administrator', 'editor' ),
|
||||
'delete_private_posts' => array( 'administrator', 'editor' ),
|
||||
@@ -162,7 +162,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
|
||||
'edit_published_pages' => array( 'administrator', 'editor' ),
|
||||
'publish_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_others_posts' => array( 'administrator', 'editor' ),
|
||||
'delete_others_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_published_pages' => array( 'administrator', 'editor' ),
|
||||
'delete_others_posts' => array( 'administrator', 'editor' ),
|
||||
'delete_private_posts' => array( 'administrator', 'editor' ),
|
||||
|
||||
Reference in New Issue
Block a user