[wp-trac] [WordPress Trac] #35362: Empty `items_wrap` `wp_nav_menu` randomly breaks customizer
WordPress Trac
noreply at wordpress.org
Fri Jan 8 08:12:59 UTC 2016
#35362: Empty `items_wrap` `wp_nav_menu` randomly breaks customizer
--------------------------+-----------------------------
Reporter: ojrask | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Assuming a navigation menu is generated in the frontend using
`wp_nav_menu` and setting the argument `items_wrap` to an empty string
(`''`).
Then when toying around with the menu and its items inside the customizer,
the customizer breaks randomly and begins duplicating the whole menu
recursively in the preview pane until the browser crashes or is forced to
quit.
If the `items_wrap` argument is removed or changed the problem disappears.
Tested on WP 4.4 with a custom theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35362>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list