[wp-trac] [WordPress Trac] #36778: Parent theme editor-style.css cannot be disabled

WordPress Trac noreply at wordpress.org
Tue Jun 14 12:13:56 UTC 2016


#36778: Parent theme editor-style.css cannot be disabled
-----------------------------+-----------------------------
 Reporter:  matthewmcvickar  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Editor           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by ocean90):

 * keywords:   => needs-patch
 * version:  trunk =>
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => Future Release


Comment:

 Hello @matthewmcvickar, welcome to our Trac!

 Looks like you're requesting a function like `remove_editor_style(
 $stylesheet )` which allows to remove a specific editor stylesheet from
 the global `$editor_styles`. Is that right?

 For now you could use
 [https://developer.wordpress.org/reference/functions/remove_editor_styles/
 remove_editor_styles()] which removes '''all''' stylesheets or the
 [https://developer.wordpress.org/reference/hooks/editor_stylesheets/
 editor_stylesheets] filter.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36778#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list