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

WordPress Trac noreply at wordpress.org
Thu Jul 22 19:58:09 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:  Awaiting Review
Component:  General            |     Version:  5.8
 Severity:  critical           |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------

Comment (by mdahlke):

 Replying to [comment:1 sabernhardt]:
 > Hi @mdahlke and welcome to WordPress Core Trac!
 >
 > I do not see either the 'common' or 'forms' stylesheets on the front
 end. I checked your site (Home and Recipes pages, without logging in of
 course), and the styles are not added there. These stylesheets also do not
 show on the front end when I'm logged in to my local installation.
 >
 > Could you try deactivating plugins and/or switching themes temporarily
 to see if one of those enqueues an admin stylesheet?



 We have dequeued the common styles using:

 {{{#!php
 <?php
 if (!is_admin()) {
     function five_dequeue_common_css() {
         wp_deregister_style('common');
     }
     add_action( 'wp_enqueue_scripts', 'five_dequeue_common_css');
 }
 }}}

 Here's another person that is suffering from this issue as well:
 https://wordpress.org/support/topic/problems-with-common-min-css-
 in-5-8/#post-14690274

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


More information about the wp-trac mailing list