Skip to content

Commit f77ddde

Browse files
committed
Allow add_editor_style() to load a child theme's editor style when the parent theme's style exists for the same filename. props SergeyBiryukov. fixes #21026 for 3.4.
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21123 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 2500199 commit f77ddde

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

wp-includes/class-wp-editor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ public static function editor_settings($editor_id, $set) {
337337
foreach ( $editor_styles as $key => $file ) {
338338
if ( $file && file_exists( "$template_dir/$file" ) ) {
339339
$mce_css[] = "$template_uri/$file";
340-
$editor_styles[$key] = '';
341340
}
342341
}
343342
}

0 commit comments

Comments
 (0)