[wp-trac] [WordPress Trac] #25280: wp_localize_script unexpectedly converts numbers to strings

WordPress Trac noreply at wordpress.org
Mon Jul 8 14:26:55 UTC 2019


#25280: wp_localize_script unexpectedly converts numbers to strings
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Script Loader                        |     Version:  3.2
 Severity:  normal                               |  Resolution:  wontfix
 Keywords:  has-patch dev-feedback has-unit-     |     Focuses:  javascript
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => wontfix
 * milestone:  5.3 =>


Comment:

 Closing this as `wontfix` - as outlined in @nerrad's comment above, this
 function can be left as it as we currently have better approaches for
 passing data to JavaScript.

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


More information about the wp-trac mailing list