[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:04:13 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        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------
 Steps to reproduce:

 0. Open a menu in the Customizer.
 1. Add new new nav menu items.
 2. Drag one nav menu item to be a child of another.
 3. Do Save & Publish

 Fail: notice that the sub-menu item gets bumped to the root level when the
 nav menu items are saved. This is only the case in the preview. If you
 reload the Customizer or visit the frontend after saving, the submenu item
 is in the expected nested location.

 Demo: https://cloudup.com/cf5c7CV4cnG

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


More information about the wp-trac mailing list