mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00: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 trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f5310274b
commit
d4e0c684d3
@ -3,6 +3,9 @@
|
||||
if ( ! defined( 'ABSPATH' ) )
|
||||
exit;
|
||||
|
||||
if ( ! class_exists( '_WP_Editors' ) )
|
||||
require( ABSPATH . WPINC . '/class-wp-editor.php' );
|
||||
|
||||
// deprecated, not used
|
||||
function mce_escape($text) {
|
||||
return esc_js($text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user