diff --git a/lib/block-directory.php b/lib/block-directory.php index ed05bef36b13f2..4c507828e9d632 100644 --- a/lib/block-directory.php +++ b/lib/block-directory.php @@ -5,7 +5,7 @@ * @package gutenberg */ -if ( ! has_action( 'admin_enqueue_scripts', 'gutenberg_aenqueue_block_editor_assets_block_directory' ) ) { +if ( ! has_action( 'admin_enqueue_scripts', 'enqueue_block_editor_assets_block_directory' ) ) { /** * Function responsible for enqueuing the assets required * for the block directory functionality in the editor.