mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 13:44:30 +00:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user