[wp-trac] [WordPress Trac] #49292: Fix javascript error caused by incorrectly escaped url

WordPress Trac noreply at wordpress.org
Sun Jan 26 12:14:38 UTC 2020


#49292: Fix javascript error caused by incorrectly escaped url
-------------------------------+------------------------------
 Reporter:  juliastri          |       Owner:  juliastri
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Script Loader      |     Version:  5.3.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  javascript
-------------------------------+------------------------------
Changes (by ocean90):

 * keywords:   => reporter-feedback
 * component:  General => Script Loader


Comment:

 Hello @juliastri, welcome to WordPress Trac!

 Thanks for your report. Are you using a custom plugin or something else
 which modifies the HTML output? Because by default, as you can see in your
 patch, the string starts with a single quote mark (`'`) and not a double
 quote mark (`"`) which shouldn't cause this issue.

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


More information about the wp-trac mailing list