[wp-trac] [WordPress Trac] #34628: Submenu items bump to top level upon save if parent nav menu item is newly inserted

WordPress Trac noreply at wordpress.org
Mon Nov 9 01:12:20 UTC 2015


#34628: Submenu items bump to top level upon save if parent nav menu item is newly
inserted
------------------------------+-------------------------
 Reporter:  westonruter       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.4
Component:  Customize         |     Version:  4.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit


Comment:

 When we get the inserted IDs for the new nav menu items back from the
 server upon save, we need to update each sub-nav menu item's
 `menu_item_parent` if it was a placeholder. See [attachment:34628.0.diff].

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


More information about the wp-trac mailing list