[wp-trac] [WordPress Trac] #13976: wp_nav_menu() uses IDs for menu-items preventing re-use on the same page

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 21:31:01 UTC 2010


#13976: wp_nav_menu() uses IDs for menu-items preventing re-use on the same page
------------------------------+---------------------------------------------
 Reporter:  foolsrun          |        Owner:        
     Type:  defect (bug)      |       Status:  closed
 Priority:  normal            |    Milestone:  3.0.1 
Component:  Menus             |      Version:  3.0   
 Severity:  normal            |   Resolution:  fixed 
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [15407]) Prevent the same menu item from receiving duplicate IDs if
 the menu is used twice. All menu items now get a class with their post ID;
 only the first item now gets an ID. fixes #13976 for trunk.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13976#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list