Make WordPress Core

Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#18326 closed defect (bug) (worksforme)

Menu: current-menu-item problem with taxa with same name

Reported by: rukbat's profile rukbat Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.2.1
Component: Menus Keywords:
Focuses: Cc:

Description

Hello, when two different taxonomy (e.g. tags and category, but also with custo taxa) with the same name are in the same submenu, the property current-menu-item is set to the two taxa both.

How to reproduce:
Create a category named "Test" (and add it to a post).
Create a tag named "Test" (and add it to a post).
Create a menu with this structure:
My menu

  • Test (is the category archive, name it (e.g) "Test Category")
  • Test (is the tag archive, name it (e.g) "Test Tag")
  • Other pages

When you go to one of the two Test they have the current-menu-item property both.

Change History (6)

#1 @bravokeyl
11 years ago

  • Keywords needs-refresh added

#2 @bravokeyl
11 years ago

I can't reproduce this.Is it still a problem ?

#3 @rukbat
11 years ago

No, I can't reproduce it anymore in WP 3.8.1.

Bye.

#4 @bravokeyl
11 years ago

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

#5 @bravokeyl
11 years ago

  • Keywords needs-refresh removed

#6 @ocean90
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution changed from invalid to worksforme
Note: See TracTickets for help on using tickets.