[wp-trac] [WordPress Trac] #36778: Parent theme editor-style.css cannot be disabled
WordPress Trac
noreply at wordpress.org
Mon Jun 20 09:00:18 UTC 2016
#36778: Parent theme editor-style.css cannot be disabled
-----------------------------+-----------------------------
Reporter: matthewmcvickar | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Future Release
Component: Editor | Version:
Severity: normal | Resolution: worksforme
Keywords: needs-patch | Focuses: administration
-----------------------------+-----------------------------
Changes (by azaozz):
* status: new => closed
* resolution: => worksforme
Comment:
Replying to [comment:4 matthewmcvickar]:
> The parent theme isn't registering the stylesheet—there's just an
{{{editor-style.css}}} in the parent theme directory
Why is there an editor-style.css file in the parent theme if it is not
registered? Sounds like an error?
In any case, a stylesheet can always be removed from there with the
`mce_css` filter. Closing as worksforme, using that filter to control
which stylesheets are loaded seems sufficient for this edge case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36778#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list