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.

Built from https://develop.svn.wordpress.org/trunk@55628


git-svn-id: http://core.svn.wordpress.org/trunk@55140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2023-04-04 23:37:20 +00:00
parent e63019817f
commit a0de188b5d
2 changed files with 1 additions and 3 deletions

View File

@ -1663,12 +1663,10 @@ function wp_default_styles( $styles ) {
'wp-editor',
'wp-edit-blocks',
'wp-block-library',
'wp-nux',
),
'editor' => array(
'wp-components',
'wp-block-editor',
'wp-nux',
'wp-reusable-blocks',
),
'format-library' => array(),

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55627';
$wp_version = '6.3-alpha-55628';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.