From 5d6373cb145878c75db0f1bf867347eb3d9eacfe Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Thu, 17 Jun 2021 09:32:03 +0300 Subject: [PATCH] function was renamed --- lib/blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocks.php b/lib/blocks.php index e0a5cc13b9d62c..e9ca3d6978165a 100644 --- a/lib/blocks.php +++ b/lib/blocks.php @@ -563,7 +563,7 @@ function gutenberg_enqueue_block_style( $block_name, $args, $register = true ) { }; $hook = did_action( 'wp_enqueue_scripts' ) ? 'wp_footer' : 'wp_enqueue_scripts'; - if ( gutenberg_should_load_separate_block_assets() ) { + if ( wp_should_load_separate_core_block_assets() ) { $hook = "render_block_$block_name"; }