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

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 02:46:00 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 markjaquith):

 > WARNING: wp-includes/class.wp-scripts.php:73 - html_entity_decode()
 expects parameter 1 to be string, array given

 So I guess we need a recursive {{{html_entity_decode()}}}.

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


More information about the wp-trac mailing list