[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 1 01:14:31 UTC 2010
#11520: print_scripts_l10n() should use json_encode()
-------------------------+--------------------------------------------------
Reporter: scribu | Owner: azaozz
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: JavaScript | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by scribu):
Replying to [comment:2 azaozz]:
> Also perhaps we can standardize a way to pass data to JS and use that
for translations making wp_localize_script() obsolete.
+1 on that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list