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

WordPress Trac noreply at wordpress.org
Tue Mar 8 20:59:39 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):

 In [attachment:35362.3.diff]:

 * Do fallback behavior if no menu is associated with the nav menu instance
 partial.
 * Do fallback behavior if newly-rendered menu is empty
 * Do full refresh if a nav_menu_locations[] is changed for a location
 which doesn't exist in the preview

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


More information about the wp-trac mailing list