mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Bail from wp-langs.php if we don't already have a WordPress environment. fixes #20119.
git-svn-id: https://develop.svn.wordpress.org/trunk@20601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) )
|
||||
exit;
|
||||
|
||||
// deprecated, not used
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user