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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 29 09:42:35 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:39 westi]:
 > Are we breaking any backward compatible behaviour here...

 No, adding second l10n array with the same name was replacing the first
 (never seen that happen but it was possible), now it appends it
 overwriting only conflicting keys.

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


More information about the wp-trac mailing list