mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +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:
parent
3f439066d0
commit
8a6afdd52e
@ -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(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user