Skip to content

Commit 8a6afdd

Browse files
committed
Script Loader: Remove unused wp-nux CSS dependency.
Neither `wp-edit-post` nor `wp-editor` use the styles included in the `wp-nux` CSS file. This removes nux as a dependency from the registration of the two files. Props flixos90, youknowriad, peterwilsoncc. Fixes #57827. See #57643. git-svn-id: https://develop.svn.wordpress.org/trunk@55628 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3f43906 commit 8a6afdd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/wp-includes/script-loader.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,12 +1663,10 @@ function wp_default_styles( $styles ) {
16631663
'wp-editor',
16641664
'wp-edit-blocks',
16651665
'wp-block-library',
1666-
'wp-nux',
16671666
),
16681667
'editor' => array(
16691668
'wp-components',
16701669
'wp-block-editor',
1671-
'wp-nux',
16721670
'wp-reusable-blocks',
16731671
),
16741672
'format-library' => array(),

0 commit comments

Comments
 (0)