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

WordPress Trac noreply at wordpress.org
Tue Aug 1 03:22:48 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):

 I wasn't sure about `preg_quote()` because it seems to affect a wider
 range of characters. For example, the `data-customize-partial-id`
 attribute becomes `data\-customize\-partial\-id\` (as of PHP 5.3), and `:`
 in JSON becomes `\:`.

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


More information about the wp-trac mailing list