[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 16:08:41 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-testing  |     Focuses:
---------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  needs-patch => needs-testing


Comment:

 Apparently `wp-edit-blocks`, `wp-reset-editor-styles` and/or `common.css`
 are not dependencies of either `wp-block-library` or `wp-block-editor`.

 The `wp-edit-blocks` style adds `wp-reset-editor-styles` (and therefore
 `common.css`) in the following admin contexts: `edit-post`, `edit-
 widgets`, and `customize-widgets`. Plus the
 `wp_add_iframed_editor_assets_html` function lists `wp-edit-blocks`.
 However, I have not seen a case where one of these is on the front end.

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


More information about the wp-trac mailing list