[wp-trac] [WordPress Trac] #43766: Update WP_Script::localize to be JSON standard compliant

WordPress Trac noreply at wordpress.org
Fri Apr 13 16:42:22 UTC 2018


#43766: Update WP_Script::localize to be JSON standard compliant
-----------------------------+------------------------------
 Reporter:  jason_the_adams  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Script Loader    |     Version:  4.9.5
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------

Comment (by jason_the_adams):

 In the absence of a patch, I should have included that this is the culprit
 line of code: https://core.trac.wordpress.org/browser/tags/4.9/src/wp-
 includes/class.wp-scripts.php#L426

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


More information about the wp-trac mailing list