mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Customize: Rename unfiltered_css meta capability to edit_css; add revisions support to custom_css post type.
Props lukecavanagh, georgestephanis, westonruter. See #38672, #35395. git-svn-id: https://develop.svn.wordpress.org/trunk@39175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -46,7 +46,7 @@ final class WP_Customize_Custom_CSS_Setting extends WP_Customize_Setting {
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $capability = 'unfiltered_css';
|
||||
public $capability = 'edit_css';
|
||||
|
||||
/**
|
||||
* Stylesheet
|
||||
|
||||
Reference in New Issue
Block a user