[wp-trac] [WordPress Trac] #18326: Menu: current-menu-item problem with taxa with same name

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 4 09:34:53 UTC 2011


#18326: Menu: current-menu-item problem with taxa with same name
--------------------------+-----------------------------
 Reporter:  rukbat        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  3.2.1
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18326>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list