Skip to content

Commit

Permalink
function was renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jul 15, 2021
1 parent 60e81ad commit 5d6373c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down

0 comments on commit 5d6373c

Please sign in to comment.