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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 25 00:36:08 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):

 In [18464]:
 #!CommitTicketReference repository="" revision="18464"
 Use json_encode() for adding script data (formerly l10n). Add the same
 functionality to WP_Styles for adding inline css after a stylesheet has
 been outputted. See #11520

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

More information about the wp-trac mailing list