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

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 06:55:23 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
--------------------------+-------------------------------------------------
 The attached patch adds an $args parameter to wp_create_nav_menu() which
 simply gets passed to wp_insert_term().  This would not be used during the
 standard case but is important for use when a plugin uses the menu system
 as a building block for enhanced functionality and needs to either set a
 specific slug or a specific parent.

 I don't need for much (any) testing so I hoping this can make it in 3.0 so
 I can get rid of the ugly hack in the "Microsite Editor" plugin I'm
 working on.  Thanks. :-)

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


More information about the wp-trac mailing list