WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/09/2019 08:43:57 PM (3 months ago)
Author:
flixos90
Message:

Bootstrap/Load: Fix missing object argument for singular capability checks and support capability tests overlooked in [44524].

See #44458.

File:
1 edited

Legend:

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

    r44146 r44525  
    258258            'erase_others_personal_data'  => array( 'administrator' ),
    259259            'manage_privacy_options'      => array( 'administrator' ),
     260            'resume_themes'               => array( 'administrator' ),
    260261
    261262            'edit_categories'             => array( 'administrator', 'editor' ),
     
    297298            'delete_site'                 => array( 'administrator' ),
    298299            'add_users'                   => array( 'administrator' ),
     300            'resume_themes'               => array( 'administrator' ),
    299301
    300302            'edit_categories'             => array( 'administrator', 'editor' ),
     
    455457            $expected['activate_plugin'],
    456458            $expected['deactivate_plugin'],
     459            $expected['resume_plugin'],
    457460            $expected['remove_user'],
    458461            $expected['promote_user'],
Note: See TracChangeset for help on using the changeset viewer.