Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13092 closed defect (bug) (fixed)

class current-menu-item incorrectly added when using page and navigation links

Reported by: ronaldvw's profile ronaldvw Owned by: ryan's profile ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords:
Focuses: Cc:

Description

Using 3.0 beta-1. Create a menu and select some pages, and category links. When either the first page or first navigation item is selected, both the first page and the navigation link are updated with class "current-menu-item". Case, 1st nav item is category, 2nd is category, 3rd is page, 4th is page. If 1 or 3 are active, both will have "current-menu-item". If 2 (2nd Category navigation) or 4 (2nd Page navigation) is selected, it works as expected.

Change History (5)

#1 @ronaldvw
15 years ago

  • Keywords menu classes removed

#3 @momo360modena
15 years ago

  • Cc momo360modena added

#4 @markmcwilliams
15 years ago

  • Milestone changed from Unassigned to 3.0

Could be covered in #12713 which has a huge patch!

#5 @duck_
15 years ago

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

Looks like this was fixed in one of the recent updates to the custom menu system. Cannot reproduce on trunk (exists in beta-1).

Note: See TracTickets for help on using tickets.