[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
Fri Jun 18 14:05:46 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
--------------------------+-------------------------------------------------
Hello,
Working to replace my hand-coded menus with the new dynamic menus in
Wordpress 3.0 I've noticed a problem: menu items generated with wp nav
menu() are given a unique CSS ID. This prevents re-using the same menu on
the same page (my menu appears in both the header and footer) while
maintaining valid HTML.
To reproduce this problem, call the a menu twice in the same theme and
attempt to validate the HTML (http://validator.w3.org/).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13976>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list