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
This commit is contained in:
Peter Wilson 2023-04-04 23:35:21 +00:00
parent 3f439066d0
commit 8a6afdd52e

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(),