diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index b31c0b1700..6cf83b6f9c 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -2252,7 +2252,7 @@ function script_concat_settings() { function wp_common_block_scripts_and_styles() { global $current_screen; - if ( ( $current_screen instanceof WP_Screen ) && ! $current_screen->is_block_editor() ) { + if ( is_admin() && ( $current_screen instanceof WP_Screen ) && ! $current_screen->is_block_editor() ) { return; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d3ad6234b..713f32803a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-beta3-43893'; +$wp_version = '5.0-beta3-43894'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.