[wp-trac] [WordPress Trac] #13696: Clean up menu editing / creating

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 2 08:15:32 UTC 2010


#13696: Clean up menu editing / creating
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Menus         |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Currently, `wp_create_nav_menu` is used only in
 `wp_update_nav_menu_object`.

  * There's no need to expose a limited menu-creation API when
 `wp_update_nav_menu_object` handles that already.
  * `wp_create_nav_menu` is doubling some of the sanity checks done already
 in `wp_update_nav_menu_object`, so we should simplify the logic.

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


More information about the wp-trac mailing list