[wp-trac] [WordPress Trac] #20119: Use json_encode() to properly encode the translated strings for TinyMCE
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 25 02:09:19 UTC 2012
#20119: Use json_encode() to properly encode the translated strings for TinyMCE
-------------------------+-----------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: TinyMCE | Version:
Severity: normal | Keywords:
-------------------------+-----------------
Similar to $wp_scripts->localize(). It's better/safer to use json_encode
when outputting translated strings for use in JS.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20119>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list