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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 16:16:20 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:  critical     |  Resolution:
 Keywords:               |
-------------------------+------------------------

Comment (by azaozz):

 @nacin, @westi, agreed, putting back the 8 `_doing_it_wrong()` in
 functions.wp-scripts.php.

 11520-6.patch is actually two steps away from being able to output JS
 after the main script tag. Something to think for 3.4. For that we will
 need to improve wp-admin/load-scripts.php so we can guarantee the extra
 bits are right after the main script. Then we would finally be able to
 take `jQuery.noConflict()` out of jquery.js :)

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


More information about the wp-trac mailing list