WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/30/2016 12:46:46 PM (5 years ago)
Author:
johnbillion
Message:

Customize: Correct the capability mapping and associated tests for the unfiltered_css capability.

Fixes #35395

File:
1 edited

Legend:

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

    r39008 r39016  
    230230            'edit_post_tags'         => array( 'administrator', 'editor' ),
    231231            'delete_post_tags'       => array( 'administrator', 'editor' ),
     232            'unfiltered_css'         => array( 'administrator', 'editor' ),
    232233
    233234            'assign_categories'      => array( 'administrator', 'editor', 'author', 'contributor' ),
     
    248249            'upload_plugins'         => array(),
    249250            'upload_themes'          => array(),
     251            'unfiltered_css'         => array(),
    250252
    251253            'customize'              => array( 'administrator' ),
     
    392394            $expected['unfiltered_upload'],
    393395            $expected['unfiltered_html'],
    394             $expected['unfiltered_css'],
    395396            $expected['edit_files'],
    396397            $expected['edit_plugins'],
Note: See TracChangeset for help on using the changeset viewer.