[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 29 07:35:10 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 westi):

 Replying to [comment:38 azaozz]:
 > In [18480]:
 > {{{
 > #!CommitTicketReference repository="" revision="18480"
 > Introduce WP_Dependencies::get_data() method, change scripts and styles
 priority to follow the "natural" order in HTML, i.e. the last one wins,
 props scribu, see #11520
 > }}}

 This is just changing the order in which we process localisation and other
 associated data not the way in which multiple enqueues of scripts with the
 same identifier worked?

 Are we breaking any backward compatible behaviour here - it's not clear
 from a quick read of the ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:39>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list