Changes between Version 1 and Version 2 of Ticket #19437, comment 15
- Timestamp:
- 04/02/2012 08:37:32 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19437, comment 15
v1 v2 3 3 Wouldn't that add the child theme's stylesheet before the parent theme's? At first look in the patch the parent theme loop is after the child theme loop: 4 4 5 {{{ 6 if ( is_child_theme() ) { 7 $template_uri = get_template_directory_uri(); 8 $template_dir = get_template_directory(); 9 10 foreach ( $editor_styles as $file ) { 11 ... 12 } 13 } 14 15 foreach ( $editor_styles as $file ) { 16 if ( $file && file_exists( "$style_dir/$file" ) ) 17 ... 18 } 19 }}} 5 Edit: nevermind, that's otherwise round.