BP-3661 Error 404 on blocks.js #277
Labels
Priority: Normal
This issue has a normal/medium priority.
Status: In progress
We are working on this issue.
👏Thank You✨
Thank you for contributing!
I get a 404 on the loading of blocks.js in the WordPress admin. This issue comes from line 112 of index.php in the root folder. This is the only wp_enqueue_script where plugin_dir_url( FILE ) is not prepended to the file path, Changing this line to
wp_enqueue_script( 'buckaroo-block-script', plugin_dir_url( FILE ) . 'assets/js/dist/blocks.js', array( 'wp-blocks', 'wp-element' ) );
makes it load the file.
The text was updated successfully, but these errors were encountered: