diff --git a/wp-includes/block-editor.php b/wp-includes/block-editor.php index 7b63490a8a..e04b012e7d 100644 --- a/wp-includes/block-editor.php +++ b/wp-includes/block-editor.php @@ -287,7 +287,6 @@ function get_legacy_widget_block_editor_settings() { * @since 6.0.0 * @access private * - * @global string $pagenow The filename of the current screen. * @global WP_Styles $wp_styles The WP_Styles current instance. * @global WP_Scripts $wp_scripts The WP_Scripts current instance. * @@ -299,7 +298,7 @@ function get_legacy_widget_block_editor_settings() { * } */ function _wp_get_iframed_editor_assets() { - global $wp_styles, $wp_scripts, $pagenow; + global $wp_styles, $wp_scripts; // Keep track of the styles and scripts instance to restore later. $current_wp_styles = $wp_styles; @@ -329,10 +328,6 @@ function _wp_get_iframed_editor_assets() { // Enqueue the `editorStyle` handles for all core block, and dependencies. wp_enqueue_style( 'wp-edit-blocks' ); - if ( 'site-editor.php' === $pagenow ) { - wp_enqueue_style( 'wp-edit-site' ); - } - if ( current_theme_supports( 'wp-block-styles' ) ) { wp_enqueue_style( 'wp-block-library-theme' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 43d38528ef..38dd76e972 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56735'; +$wp_version = '6.4-beta1-56736'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.