[wp-trac] [WordPress Trac] #15358: The Network Admin > Users menu has a disclosue triangle even when there are no submenu items other than the Users page itself

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 13:11:10 UTC 2012


#15358: The Network Admin > Users menu has a disclosue triangle even when there are
no submenu items other than the Users page itself
-----------------------------------+-----------------------------
 Reporter:  caesarsgrunt           |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Network Admin          |     Version:  3.1
 Severity:  normal                 |  Resolution:
 Keywords:  needs-patch 3.2-early  |
-----------------------------------+-----------------------------

Comment (by nacin):

 Replying to [comment:6 PeteMall]:
 > We should add an extra check for submenus in wp-admin/includes/menu.php
 and remove the submenu if there is only one and it's the same as the top
 level menu.

 This code is already present for the regular admin. Should be fairly easy
 to apply to all three menus.

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


More information about the wp-trac mailing list