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

WordPress Trac noreply at wordpress.org
Thu Sep 10 12:33:48 UTC 2020


#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                                          |
-------------------------------------------------+-------------------------

Comment (by andraganescu):

 Yes, we should remove the wrong advice and replace it with Ian's comment.

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


More information about the wp-trac mailing list