diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index e92849c1f5..6e820d2ba3 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -976,6 +976,12 @@ final class _WP_Editors { $mce_translation = apply_filters( 'wp_mce_translation', $mce_translation, $mce_locale ); foreach ( $mce_translation as $key => $value ) { + // Remove strings that are not translated. + if ( $key === $value ) { + unset( $mce_translation[$key] ); + continue; + } + if ( false !== strpos( $value, '&' ) ) { $mce_translation[$key] = html_entity_decode( $value, ENT_QUOTES, 'UTF-8' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3a4ee6177f..e38a163e36 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30293'; +$wp_version = '4.1-alpha-30294'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.