Generates error if using widgets in your theme
-
If you have Tagembed activated and are enabling widgets in your theme then you get the following error message on the Widgets screen in the WP admin:
Notice: Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets)
I’ve seen a lot of plugins (Yoast SEO, Gravity Forms, etc) have to fix this since WP 5.8 when this change was made. Hopefully you can implement the same fix.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Generates error if using widgets in your theme’ is closed to new replies.