[wp-trac] [WordPress Trac] #21026: add_editor_style() in child theme not working for editor_style.css

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 22 08:42:57 UTC 2012


#21026: add_editor_style() in child theme not working for editor_style.css
--------------------------+--------------------
 Reporter:  richardwo     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4.1
Component:  Editor        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.4.1


Comment:

 In [20059], the line was introduced to prevent a stylesheet from loading
 by a parent theme if a file with the same name was already loaded by a
 child theme:
 {{{
 $editor_styles[$key] = '';
 }}}
 In [20342], this behaviour was reversed (comment:ticket:19437:14).

 Not sure if the line was necessary in the first place. Moving to 3.4.1, as
 it's technically a regression.

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


More information about the wp-trac mailing list