Make WordPress Core

Changeset 21123


Ignore:
Timestamp:
06/26/2012 03:10:49 AM (12 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/class-wp-editor.php

    r20342 r21123  
    338338                            if ( $file && file_exists( "$template_dir/$file" ) ) {
    339339                                $mce_css[] = "$template_uri/$file";
    340                                 $editor_styles[$key] = '';
    341340                            }
    342341                        }
Note: See TracChangeset for help on using the changeset viewer.