Make WordPress Core

Ticket #14430: wp-editor-style.diff

File wp-editor-style.diff, 731 bytes (added by helix84, 13 years ago)

fix for the issue (WP 3.0)

  • wp-admin/includes/post.php

    diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
    index 5f8b6fd..595691f 100644
    a b function wp_tiny_mce( $teeny = false, $settings = false ) { 
    15131513                       $style_dir    = get_stylesheet_directory();
    15141514                       $template_uri = get_template_directory_uri();
    15151515                       $template_dir = get_template_directory();
     1516                       $editor_styles = array_reverse($editor_styles);
    15161517                       foreach ( $editor_styles as $file ) {
    15171518                               if ( file_exists( "$style_dir/$file" ) )
    15181519                                       $mce_css[] = "$style_uri/$file";