[wp-trac] [WordPress Trac] #28605: Introduce customize capability for accessing Customizer
WordPress Trac
noreply at wordpress.org
Sat Jul 12 03:40:43 UTC 2014
#28605: Introduce customize capability for accessing Customizer
-------------------------+------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Comment (by westonruter):
In [attachment:28605.3.diff]:
* Only show Customize link in admin menu and admin bar if can
`edit_theme_options` (and `customize`).
* Add cap checks for `edit_theme_options` and `customize`to other links
to the Customizer. Needed because `customize` cap may be removed from
users who normally can access it (those who can `edit_theme_options`)/
Plugins will need to explicitly add links to the Customizer in the admin
menu, in the admin bar, and elsewhere when users are explicitly granted
the `customize` cap.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28605#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list