diff --git a/spotify-recent.php b/spotify-recent.php index de9e840..2087d35 100644 --- a/spotify-recent.php +++ b/spotify-recent.php @@ -22,7 +22,7 @@ function sro_register_block() { wp_register_script( 'sro-block-js', plugins_url('blocks/block.js', __FILE__), - array('wp-blocks', 'wp-element', 'wp-editor'), + array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-block-editor'), filemtime(plugin_dir_path(__FILE__) . 'blocks/block.js') );