[wp-trac] [WordPress Trac] #14430: editor-style.css of a child theme overriden by parent theme

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 28 03:51:08 UTC 2010


#14430: editor-style.css of a child theme overriden by parent theme
--------------------------+-------------------------------------------------
 Reporter:  helix84       |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by avit):

 Confirmed, I'm experiencing this bug on a child theme that I based on
 Twenty Ten.

 I don't think helix84's patch is a good fix: reversing the order will
 cause other problems. I worked around it by changing`if ( file_exists(
 "$template_dir/$file" ) )` to an `elseif`. (This prevents the parent
 template from loading.) I would be satisfied with this as a resolution, it
 seems to mirror the way we load the public stylesheet, and I think that
 should be the expected behaviour.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14430#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list