[wp-trac] [WordPress Trac] #57170: Fix invalid menu-item-parent
WordPress Trac
noreply at wordpress.org
Mon Nov 21 23:16:13 UTC 2022
#57170: Fix invalid menu-item-parent
--------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Customize | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+--------------------
Follow up to #56926.
There seems to be a bug in the Customizer that may set
`$menu_item->menu_item_parent` to be the same as `$menu_item->ID`. Steps
to reproduce: https://core.trac.wordpress.org/ticket/56926#comment:21.
There also seems to be a related JS error:
{{{
Uncaught TypeError: parentControl is undefined
.../wp-admin/js/customize-nav-menus.js?ver=6.2-alpha-54642-src:2330
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57170>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list