Skip to content

Commit

Permalink
Issue #27 - do we need to register a dependency on wp-data?
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed May 27, 2019
1 parent 1c10274 commit 3a6edcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oik-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ function oik_blocks_register_editor_scripts() {
wp_register_script( $name,
plugins_url( $blockPath, __FILE__ ),
// [],
[ 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor', 'wp-i18n' ],
[ 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor', 'wp-i18n', 'wp-data' ],
filemtime( plugin_dir_path(__FILE__) . $blockPath )
);
wp_set_script_translations( $name, 'oik-block' );
Expand Down

0 comments on commit 3a6edcf

Please sign in to comment.