[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 05:32:36 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
-------------------------------+-------------------------------
Changes (by sabernhardt):

 * keywords:   => reporter-feedback


Comment:

 Could you share the stylesheet `<link>` in the context of some other
 styles and scripts around it, especially the one immediately following
 `wp-includes/blocks/navigation/style.min.css`? Also note whether it is in
 the page's `<head>` or the `<body>`.

 I was not able to get the `wp-block-navigation` CSS without a Navigation
 block on that page. And I needed to use the
 `should_load_separate_core_block_assets` hook (in a plugin) to load block
 assets separately (because Twenty Twenty-One does not opt in to dividing
 styles for each block).

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


More information about the wp-trac mailing list