Make WordPress Core

Changeset 34449


Ignore:
Timestamp:
09/22/2015 10:15:18 PM (11 years ago)
Author:
johnbillion
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user/capabilities.php

    r34447 r34449  
    8383                        'publish_pages'          => array( 'administrator', 'editor' ),
    8484                        'delete_pages'           => array( 'administrator', 'editor' ),
    85                         'delete_others_posts'    => array( 'administrator', 'editor' ),
     85                        'delete_others_pages'    => array( 'administrator', 'editor' ),
    8686                        'delete_published_pages' => array( 'administrator', 'editor' ),
    8787                        'delete_others_posts'    => array( 'administrator', 'editor' ),
     
    163163                        'publish_pages'          => array( 'administrator', 'editor' ),
    164164                        'delete_pages'           => array( 'administrator', 'editor' ),
    165                         'delete_others_posts'    => array( 'administrator', 'editor' ),
     165                        'delete_others_pages'    => array( 'administrator', 'editor' ),
    166166                        'delete_published_pages' => array( 'administrator', 'editor' ),
    167167                        'delete_others_posts'    => array( 'administrator', 'editor' ),
Note: See TracChangeset for help on using the changeset viewer.