[wp-trac] [WordPress Trac] #35362: Empty `items_wrap` `wp_nav_menu` randomly breaks customizer

WordPress Trac noreply at wordpress.org
Tue Mar 8 22:11:09 UTC 2016


#35362: Empty `items_wrap` `wp_nav_menu` randomly breaks customizer
--------------------------+--------------------------
 Reporter:  ojrask        |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.5
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by westonruter):

 [attachment:35362.4.diff]:  Do partial fallback when adding nav menu items
 to empty menus

 Another edge case:

 1. Create nav menu widget and assign to a non-empty nav menu
 2. Change the widget's assigned nav menu to one that lacks any menu items.
 3. Add nav menu item to the empty nav menu
 4. No changes are seen.

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


More information about the wp-trac mailing list