[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 28 16:40:32 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 azaozz):
Replying to [comment:31 scribu]:
> * fix print_inline_style() printing the styles in reverse order
Was actually following the rest of the logic for WP_Dependencies: if there
is a conflict (in names or values) the first added object wing. For CSS
that should be printed last so it overwrites previous styles.
For scripts this is here: https://core.trac.wordpress.org/browser/trunk
/wp-includes/class.wp-scripts.php#L168
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list