[wp-trac] [WordPress Trac] #53741: wp-admin/css/common.min.css is loading on the front-end

WordPress Trac noreply at wordpress.org
Tue Aug 3 01:54:25 UTC 2021


#53741: wp-admin/css/common.min.css is loading on the front-end
---------------------------+---------------------
 Reporter:  mdahlke        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8.1
Component:  Script Loader  |     Version:  5.8
 Severity:  critical       |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------

Comment (by peterwilsoncc):

 Just so I am clear, is `common.css`, etc being enqueued as a dependecy of
 `wp-block-library` or `wp-block-editor`?

 If it's the former, `wp-block-library`, then I see it as a WordPress bug
 as `common.css` are admin styles and the library css is intended for the
 front end.

 If it's a dependency of the latter, `wp-block-editor`, then I see this
 issue as a theme or plugin bug as they're admin styles that aren't
 intended to be used on the front end of a site. It's very risky to do so
 as these styles are intended to change as new markup is added to the
 dashboard.

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


More information about the wp-trac mailing list