[wp-trac] [WordPress Trac] #21761: Hide Appearance > Widgets menu when no sidebars are registered

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 1 19:30:12 UTC 2012


#21761: Hide Appearance > Widgets menu when no sidebars are registered
-------------------------+------------------
 Reporter:  sabreuse     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  UI           |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------

Comment (by sabreuse):

 Both patches have the same problem for me - they hide the Widgets menu
 whether the theme supports widgets or not. I'll poke at them to see if I
 can get the check working. Pure speculation: I wonder if this is related
 to the fact that it's being added directly at _admin_menu rather than
 later with admin_menu & the API.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21761#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list