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

WordPress Trac noreply at wordpress.org
Tue Mar 8 22:36:49 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.5.diff] Fix aforementioned edge case by ensuring that
 `wp_nav_menu()` calls made inside of partials get communicated back and
 made part of the manifest of instances on the page so that the full-page
 refresh fallback logic will know about them.

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


More information about the wp-trac mailing list