[wp-trac] [WordPress Trac] #13979: Add a new arg for custom ID attributes with wp_page_menu()

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 18 15:53:41 UTC 2010


#13979: Add a new arg for custom ID attributes with wp_page_menu()
-------------------------+--------------------------------------------------
 Reporter:  iandstewart  |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  Template     |     Version:  3.0       
 Severity:  normal       |    Keywords:  has-patch 
-------------------------+--------------------------------------------------
 The attached patch adds a new arg to wp_page_menu() for setting custom ID
 attributes (right now you can only set a Class--incorrectly noted as the
 ID in the docs).

 Since wp_page_menu() is the default fallback for wp_nav_menu() this would
 be potentially super-helpful for marrying up with wp_nav_menu()'s
 container_ID.

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


More information about the wp-trac mailing list