Opened 2 years ago
Menu: current-menu-item problem with taxa with same name
|Reported by:||rukbat||Owned by:|
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:
- 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.