[wp-trac] [WordPress Trac] #18271: Item hierarchy should be maintained when adding to menu

WordPress Trac noreply at wordpress.org
Mon Sep 29 04:37:35 UTC 2014


#18271: Item hierarchy should be maintained when adding to menu
-----------------------------------+---------------------------------
 Reporter:  JohnONolan             |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.1
Component:  Menus                  |     Version:  3.2.1
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  ui, administration
-----------------------------------+---------------------------------
Changes (by pento):

 * keywords:  needs-patch => has-patch 2nd-opinion
 * focuses:   => ui, administration
 * milestone:  Awaiting Review => 4.1


Comment:

 [attachment:18271.diff] works, but I'd like a second opinion from someone
 more familiar with the menus code than I. In particular, is it sane to
 assume in `wp_save_nav_menu_items()` that the parent item will be saved
 before the child item?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18271#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list