[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 00:36:42 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:  5.3
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  javascript, performance
---------------------------+--------------------------------------
Changes (by naxvog):

 * Attachment "48880.diff" added.

 Changes to the WP_Scripts localize method and the block editor init script

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


More information about the wp-trac mailing list