[wp-trac] [WordPress Trac] #13694: Add $args parameter to wp_create_nav_menu()

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 07:35:36 UTC 2010


#13694: Add $args parameter to wp_create_nav_menu()
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  Menus         |     Version:  3.0                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by filosofo):

 I don't think the public menus API should expose or depend on the fact
 that menus are actually taxonomy items.

 If we need to be able to set a new menu's slug, a better place is probably
 in `wp_update_nav_menu_object` (where you can currently set the parent).

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


More information about the wp-trac mailing list