[wp-trac] [WordPress Trac] #34590: Add an complementary method to wp_localize_script for non i18n related vars

WordPress Trac noreply at wordpress.org
Thu Nov 5 10:17:05 UTC 2015


#34590: Add an complementary method to wp_localize_script for non i18n related vars
-----------------------------+------------------------------
 Reporter:  sanchothefat     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Script Loader    |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  javascript
-----------------------------+------------------------------

Comment (by SergeyBiryukov):

 Related: #11520, #21547, #23590.

 [18464] introduced `wp_add_script_data()`, which was later reverted in
 [18490] and [18491].

 [19217] introduced `wp_add_script_before()`, which was later reverted in
 [19573].

 Relevant IRC discussion: https://irclogs.wordpress.org/chanlog.php?channel
 =wordpress-dev&day=2011-12-08&sort=asc#m342977

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


More information about the wp-trac mailing list