[wp-trac] [WordPress Trac] #20199: Admin menu CSS does not consistently account for menus without submenus

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 8 06:58:13 UTC 2012


#20199: Admin menu CSS does not consistently account for menus without submenus
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.4
Component:  UI            |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 In multisite, the Plugins menu only has Installed Plugins under it. When
 there is only one submenu, it gets removed. This means that when Plugins
 is the current menu (thus receiving the class of "current"), it is missing
 the class of "wp-has-current-submenu", which it would normally receive in
 single-site.

 I noticed the issue. Menus that commonly have no submenu items have the
 correct CSS classes to target .current (Dashboard, Comments, etc.) but
 Plugins and others do not. We should simply make sure that all icon
 declarations use the same selectors.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20199>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list