• I just updated to 5.1.1 and I can see that it has added an extra 7 CSS stylesheets to my front end.

    It seems that most of these stylesheets are admin related. The problem is still there with twenty nineteen and all plugins off.

    Has anyone had similar experiences? Is there a solution or is it a bug or just my site?

    Here are the stylesheets being added:

    <link rel='stylesheet' id='wp-block-library-css'  href='some-path/style.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-block-library-theme-css'  href='some-path/wp-includes/css/dist/block-library/theme.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-components-css'  href='some-path/wp-includes/css/dist/components/style.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-editor-font-css'  href='https://fonts.googleapis.com/css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-nux-css'  href='some-path/wp-includes/css/dist/nux/style.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-editor-css'  href='some-path/wp-includes/css/dist/editor/style.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-edit-blocks-css'  href='some-path/wp-includes/css/dist/block-library/editor.css' type='text/css' media='all' />
Viewing 1 replies (of 1 total)
  • No, WP 5.1.1 did not add 7 stylesheets to the front end.
    The only one that was added (in 5.0) was wp-block-library-css. If any others are loading, it is due to the theme or to plugins. And yes, some in your list look like they should only be loaded in the editor and not on the front end.

    I tested this on my local 5.1.1 with my theme that does not do the new editor functions. Supposedly, the block styles are only loaded on pages that have blocks, but I think I’m seeing it on every page.

Viewing 1 replies (of 1 total)
  • The topic ‘5.1.1 has added 7 Stylesheets to front end?’ is closed to new replies.