[wp-trac] [WordPress Trac] #34485: Site Icon feature should be usable to users with "edit_theme_options" cap
WordPress Trac
noreply at wordpress.org
Fri Apr 8 23:24:15 UTC 2016
#34485: Site Icon feature should be usable to users with "edit_theme_options" cap
--------------------------+------------------------------
Reporter: chrisplaneta | Owner: obenland
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.3
Severity: normal | Resolution:
Keywords: close | Focuses: administration
--------------------------+------------------------------
Changes (by celloexpressions):
* keywords: => close
Comment:
It's `manage_options` because the feature is global (an `option`), not
theme-specific (`theme_mod`). If needed based on personal usage, the
required capability can be changed via a plugin doing something like:
{{{
add_action( 'customize_register', function ( $wp_customize ) {
$wp_customize->get_setting('site_icon')->capability =
'edit_theme_options';
}
}}}
I don't think we should change it in core, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34485#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list