[wp-trac] [WordPress Trac] #41488: Customize: uncaught JS error with namespaced nav menu fallbacks

WordPress Trac noreply at wordpress.org
Tue Aug 1 02:26:33 UTC 2017


#41488: Customize: uncaught JS error with namespaced nav menu fallbacks
--------------------------+------------------
 Reporter:  dlh           |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by dlh):

 Thanks, I see what you mean now. It looks to me like the `preg_replace()`
 might be the culprit. In [attachment:41488.2.diff], I tried to rearrange
 `filter_wp_nav_menu()` so the `preg_replace()` happens before injecting
 `$customize_preview_nav_menus_args`.

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


More information about the wp-trac mailing list