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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 8 18:32:31 UTC 2011


#11520: print_scripts_l10n() should use json_encode()
-----------------------------+-----------------------
 Reporter:  scribu           |       Owner:  azaozz
     Type:  enhancement      |      Status:  reopened
 Priority:  highest omg bbq  |   Milestone:  3.3
Component:  JavaScript       |     Version:
 Severity:  critical         |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------
Changes (by nacin):

 * priority:  normal => highest omg bbq
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 We should eliminate wp_add_script_before() until it handles the encoding
 of an array on its own. See IRC conversation (ongoing):

 https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2011-12-08&sort=asc#m342977

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


More information about the wp-trac mailing list