Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#20199 closed defect (bug) (fixed)

Admin menu CSS does not consistently account for menus without submenus

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: UI Keywords:
Focuses: Cc:

Description

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.

Change History (1)

#1 @nacin
13 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [20149]:

Add missing CSS selectors for when these admin menus are missing submenus. fixes #20199.

Note: See TracTickets for help on using tickets.