Skip to content

Commit

Permalink
Fix the has action check for the block directory assets
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Oct 14, 2019
1 parent 5a1897c commit fe26525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/block-directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe26525

Please sign in to comment.