Forums
Home / Plugin: WP-Blocks / [Plugin: WP-Blocks] Not working in WordPress 3.1.1
(@tait-stangl)
13 years, 11 months ago
Breaks Jquery/javascript functionality in the backend.
(@crantea)
13 years, 6 months ago
You need to change this: wp_register_script(‘wpb-js’, WP_PLUGIN_URL.’/wp-blocks/js/wp-blocks.js’);
To this: wp_register_script(‘wpb-js’, WP_PLUGIN_URL.’/wp-blocks/js/wp-blocks.js’,array(),false,true);
Inside wp-blocks.php
It fixed it for me.