[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 3 22:23:48 UTC 2011
#11520: print_scripts_l10n() should use json_encode()
------------------------------------+------------------------
Reporter: scribu | Owner: azaozz
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.3
Component: JavaScript | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------
Comment (by scribu):
Since we already have wp_script_is(), I don't think we really need
wp_add_inline_script(). Example:
http://wordpress.stackexchange.com/questions/24851/wp-enqueue-inline-
script-due-to-dependancies/24863#24863
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list