• Resolved lozula

    (@lozula)


    Hey Jeff,

    Since updating to WP 6.1 I’ve noticed my site is now loading the following render blocking css:

    /wp-includes/css/classic-themes.min.css?ver=1

    It just has the following code:

    /*! This file is auto-generated */
    .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}

    Is this something disable Gutenberg can get rid of? I can’t see any reason I need it.

    Thanks!

    Laurence

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lozula

    (@lozula)

    I just dequeued the script and problem solved

    Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting. I will include this as an option in the DG plugin.

    Plugin Author Jeff Starr

    (@specialk)

    Update: DG v2.8.1 removes the new classic theme stylesheet when the setting “Enable Frontend” is disabled.

    Thread Starter lozula

    (@lozula)

    Wow, thanks for the quick turnaround!

    Plugin Author Jeff Starr

    (@specialk)

    I use this on all my own sites, so yeah high priority ??

    Thread Starter lozula

    (@lozula)

    I was slightly perplexed when a ‘performance’ oriented WP release came out with a random render blocking css file. Appreciate it was tiny but still kind of weird.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Classic Themes CSS in WP 6.1’ is closed to new replies.