[wp-trac] [WordPress Trac] #62882: "Navigation Block CSS (style.min.css) Loads Even When Gutenberg is Disabled"
WordPress Trac
noreply at wordpress.org
Sat Feb 1 16:58:24 UTC 2025
#62882: "Navigation Block CSS (style.min.css) Loads Even When Gutenberg is
Disabled"
-------------------------------+-------------------------------
Reporter: jvrajput420 | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: css, performance
-------------------------------+-------------------------------
Comment (by jvrajput420):
@sabernhardt Thank you for your response and for looking into this issue!
== Extra Stylesheets Being Loaded ==
=== On Astra Theme ===
- The `wp-block-library-css` stylesheet is loading:
{{{
<link rel='stylesheet' id='wp-block-library-css'
href='https://localhost/wordpress/wp-includes/css/dist/block-
library/style.min.css?ver=6.7.1' media='all' />
}}}
- This file loads even though Astra does not use Gutenberg block styling.
=== On Twenty Twenty-Five Theme (After Activating Classic Editor) ===
- The `wp-block-navigation-css` stylesheet is loading:
{{{
<link rel='stylesheet' id='wp-block-navigation-css'
href='http://localhost/wordpress/wp-
includes/blocks/navigation/style.min.css?ver=6.7.1' media='all' />
}}}
- This happens despite the Classic Editor plugin being activated, which
disables the block editor.
== Findings ==
- I manually removed these styles from multiple projects and noticed **no
negative impact** on layout or functionality.
- After removing these styles, **site speed improved**, indicating that
they were unnecessary in these cases.
- The stylesheets are loading in the `<head>` of the page.
Let me know if further testing is required. Thanks again for your time!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62882#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list