[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
Sat Jul 3 18:59:50 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:  new                              
 Priority:  normal        |   Milestone:  3.0.1                            
Component:  Menus         |     Version:  3.0                              
 Severity:  normal        |    Keywords:  menu id css wp_nav_menu has-patch
--------------------------+-------------------------------------------------

Comment(by shidouhikari):

 what about not using ID at all? Use only classes, and if consumer wants an
 ID he puts hte menu inside a div or span.

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


More information about the wp-trac mailing list