Make WordPress Core


Ignore:
Timestamp:
11/09/2016 01:11:49 AM (9 years ago)
Author:
westonruter
Message:

Customize: Rename unfiltered_css meta capability to edit_css; add revisions support to custom_css post type.

Props lukecavanagh, georgestephanis, westonruter.
See #38672, #35395.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/custom-css-setting.php

    r39151 r39175  
    8080        $this->assertEquals( 'custom_css', $this->setting->type );
    8181        $this->assertEquals( 'twentysixteen', $this->setting->stylesheet );
    82         $this->assertEquals( 'unfiltered_css', $this->setting->capability );
     82        $this->assertEquals( 'edit_css', $this->setting->capability );
    8383
    8484        $exception = null;
Note: See TracChangeset for help on using the changeset viewer.