[wp-trac] [WordPress Trac] #31020: Introduce discrete capability for managing widgets
WordPress Trac
noreply at wordpress.org
Wed Feb 25 20:40:54 UTC 2015
#31020: Introduce discrete capability for managing widgets
------------------------------------+-----------------------------
Reporter: westonruter | Owner: ocean90
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.2
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+-----------------------------
Comment (by westonruter):
@ocean90: From the “sub-cap” discussions, e.g. `current_user_can(
'edit_theme_options', 'widgets' )`, would this not entail that the user
has to have `edit_theme_options` as a prerequisite? As with the
`customize` cap we introduced, which by default maps to
`edit_theme_options`, the intention is that the capability could be
granted to users who don't have any sort of `edit_theme_options`
capability.
Also, I didn't see a ticket created for this sub-caps idea.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31020#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list