From a0de188b5d866603a5ef43b4f97b4d5b14be40bb Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Tue, 4 Apr 2023 23:37:20 +0000 Subject: [PATCH] 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 --- wp-includes/script-loader.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index e0e01299a0..ba94e3b3d2 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -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(), diff --git a/wp-includes/version.php b/wp-includes/version.php index 9201d65ca2..ed626250bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.