[wp-trac] [WordPress Trac] #18209: Capabilities with misplaced dependencies in edit_theme_options
WordPress Trac
noreply at wordpress.org
Mon Aug 12 16:25:52 UTC 2013
#18209: Capabilities with misplaced dependencies in edit_theme_options
--------------------------+------------------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by Obfuscated):
Found a workaround to this by changing the capabilities for the nav_menu
taxonomy
{{{
global $wp_taxonomies;
$wp_taxonomies['nav_menu']->cap->assign_terms = 'edit_theme_options';
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18209#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list