[wp-trac] [WordPress Trac] #48880: Using JSON.parse instead of an actual object literal when localizing scripts

WordPress Trac noreply at wordpress.org
Thu Dec 5 10:13:40 UTC 2019


#48880: Using JSON.parse instead of an actual object literal when localizing
scripts
------------------------------------+--------------------------------------
 Reporter:  naxvog                  |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Script Loader           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch needs-        |     Focuses:  javascript, performance
  testing                           |
------------------------------------+--------------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch needs-testing
 * version:  5.3 =>


Comment:

 Assuming that this has actually been tested, what do the before and after
 timings look like?

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


More information about the wp-trac mailing list