[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 03:38:00 UTC 2012
#20119: Use json_encode() to properly encode the translated strings for TinyMCE
-------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.4
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Changes (by nacin):
* status: closed => reopened
* resolution: fixed =>
Comment:
Question, is this necessary at this point?
{{{
8 if ( ! class_exists( '_WP_Editors' ) )
9 require( ABSPATH . WPINC . '/class-wp-editor.php' );
}}}
If this file is directly referenced, class-wp-editor.php will not be
enough to prevent a fatal error.
I'm curious mainly because a direct reference could otherwise pose
problems for servers that do not have JSON compiled into PHP. (If it
weren't for the fact that it would trip over, for example, `__`.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20119#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list