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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 8 20:47:03 UTC 2011


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [19573]:
 {{{
 #!CommitTicketReference repository="" revision="19573"
 Remove wp_add_script_before() from 3.3. Continue to use
 wp_localize_script() for your data-passing needs. fixes #11520.
 }}}

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


More information about the wp-trac mailing list