Ticket #18457: 18457.patch
File 18457.patch, 701 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-editor.php
300 300 $style_dir = get_stylesheet_directory(); 301 301 $template_uri = get_template_directory_uri(); 302 302 $template_dir = get_template_directory(); 303 303 304 foreach ( $editor_styles as $file ) { 304 305 if ( file_exists( "$template_dir/$file" ) ) 305 306 $mce_css[] = "$template_uri/$file"; 307 } 308 309 foreach ( $editor_styles as $file ) { 306 310 if ( file_exists( "$style_dir/$file" ) ) 307 311 $mce_css[] = "$style_uri/$file"; 308 312 }