Changeset 16688 for trunk/wp-admin/includes/post.php
- Timestamp:
- 12/02/2010 01:54:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r16660 r16688 1546 1546 $mce_css = array(); 1547 1547 $style_uri = get_stylesheet_directory_uri(); 1548 if ( TEMPLATEPATH == STYLESHEETPATH) {1548 if ( ! is_child_theme() ) { 1549 1549 foreach ( $editor_styles as $file ) 1550 1550 $mce_css[] = "$style_uri/$file"; … … 1554 1554 $template_dir = get_template_directory(); 1555 1555 foreach ( $editor_styles as $file ) { 1556 if ( file_exists( "$template_dir/$file" ) ) 1557 $mce_css[] = "$template_uri/$file"; 1556 1558 if ( file_exists( "$style_dir/$file" ) ) 1557 1559 $mce_css[] = "$style_uri/$file"; 1558 if ( file_exists( "$template_dir/$file" ) )1559 $mce_css[] = "$template_uri/$file";1560 1560 } 1561 1561 }
Note: See TracChangeset
for help on using the changeset viewer.