[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 28 13:50:04 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):
[attachment:get_data.11520.diff]:
* introduce WP_Dependencies::get_data() method, for simplified data access
* fix print_inline_style() printing the styles in reverse order
* add_inline_style() stores code in 'after' instead of 'data', as an array
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list