mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Bail out themes and plugins that have copied code from core and don't maintain it by requiring class-wp-editor.php in wp-langs.php, fixes #21350 for 3.4
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21344 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8d601b0812
commit
8076a4ce88
@ -8,6 +8,9 @@ function mce_escape($text) {
|
||||
return esc_js($text);
|
||||
}
|
||||
|
||||
if ( ! class_exists( '_WP_Editors' ) )
|
||||
require( ABSPATH . WPINC . '/class-wp-editor.php' );
|
||||
|
||||
function wp_mce_translation() {
|
||||
|
||||
$default = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user