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

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 28 20:23:03 UTC 2010

#11520: print_scripts_l10n() should use json_encode()
 Reporter:  scribu       |       Owner:  azaozz        
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  JavaScript   |     Version:                
 Severity:  normal       |    Keywords:  has-patch     
Changes (by sushkov):

 * cc: sushkov (added)


 There's more to consider about this ticket.
 Currently wp_localize_script() doesn't work if you have nested arrays of
 data, it will return you first level and then output `: Array`.

 Can we rise the priority to get it fixed sooner?

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

More information about the wp-trac mailing list