[wp-trac] [WordPress Trac] #12844: wp_get_nav_menu UL ID

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 4 13:36:55 UTC 2010


#12844: wp_get_nav_menu UL ID
-------------------------+--------------------------------------------------
 Reporter:  tosak        |       Owner:  ryan               
     Type:  enhancement  |      Status:  new                
 Priority:  low          |   Milestone:  Unassigned         
Component:  Menus        |     Version:  3.0                
 Severity:  minor        |    Keywords:  wp_get_nav_menu, id
-------------------------+--------------------------------------------------
 It's currently not possible to get an id on the ul element returned by
 wp_get_nav_menu (only class), if I want an id I'd have to use wp_nav_menu,
 but that wraps the ul in a div. This is unnecessary markup.

 This can be fixed by adding an menu_id argument, just like there's an
 menu_class argument.

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


More information about the wp-trac mailing list