Fix block script dependencies

This commit is contained in:
Robin Cornett
2019-10-22 17:39:43 -04:00
parent b4628b3e36
commit 390cacc607
3 changed files with 51 additions and 51 deletions
@@ -64,7 +64,7 @@ class DisplayFeaturedImageGenesisWidgetsBlocks {
wp_register_script(
"{$this->prefix}-block",
plugin_dir_url( dirname( __FILE__ ) ) . "js/block{$minify}.js",
array( 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' ),
array( 'jquery', 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' ),
$version,
false
);