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

WordPress Trac noreply at wordpress.org
Thu Feb 4 06:00:29 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:
Changes (by westonruter):

 * keywords:  needs-patch => has-patch


 I believe the primary fix here is to just block partial refresh for nav
 menus that have `container` and `items_wrap` args that both lack a start
 tag, as in [attachment:35362.0.diff]. Granted this will then still fail if
 the one of the elements does contain a start tag but then lacks having a
 class attribute. I'm working on a more robust solution in #27355.

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

More information about the wp-trac mailing list