mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 10:38:11 +01:00
Bail from wp-langs.php if we don't already have a WordPress environment. fixes #20119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
981a426119
commit
770a48b281
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user