diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 88324131e4..6b2a08b42f 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -2925,8 +2925,8 @@ function wp_enqueue_global_styles_css_custom_properties() { * * For block themes, it's loaded in the head. * For classic ones, it's loaded in the body - * because the wp_head action (and wp_enqueue_scripts) - * happens before the render_block. + * because the wp_head action happens before + * the render_block. * * @link https://core.trac.wordpress.org/ticket/53494. * @@ -2935,7 +2935,7 @@ function wp_enqueue_global_styles_css_custom_properties() { function wp_enqueue_block_support_styles( $style ) { $action_hook_name = 'wp_footer'; if ( wp_is_block_theme() ) { - $action_hook_name = 'wp_enqueue_scripts'; + $action_hook_name = 'wp_head'; } add_action( $action_hook_name, diff --git a/wp-includes/version.php b/wp-includes/version.php index 096b242f5a..85e6702541 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9.3-alpha-53013'; +$wp_version = '5.9.3-alpha-53017'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.