diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 04bb7c91a5..7aa9aff706 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -335,10 +335,8 @@ final class _WP_Editors { $template_dir = get_template_directory(); foreach ( $editor_styles as $key => $file ) { - if ( $file && file_exists( "$template_dir/$file" ) ) { + if ( $file && file_exists( "$template_dir/$file" ) ) $mce_css[] = "$template_uri/$file"; - $editor_styles[$key] = ''; - } } }