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

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 16 06:45:39 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 nacin):

 I don't think an array_reverse is the right way to do this... Some themes
 may be adding more than one stylesheet and those should be added in order.

 I do realize that the child theme should come second but I'm really not
 sure how best to do it.

 I wish I thought about this more when it was implemented -- in hindsight I
 would rather the parent theme editor-style.css doesn't even get loaded if
 the child theme file exists (much like how other templates work) and then
 force the child theme to @import.

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


More information about the wp-trac mailing list