Make WordPress Core


Ignore:
Timestamp:
11/09/2016 01:11:49 AM (8 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/src/wp-includes/capabilities.php

    r39016 r39175  
    321321            $caps[] = 'do_not_allow';
    322322        break;
    323     case 'unfiltered_css' :
     323    case 'edit_css' :
    324324    case 'unfiltered_html' :
    325325        // Disallow unfiltered_html for all users, even admins and super admins.
Note: See TracChangeset for help on using the changeset viewer.