Function wp_enqueue_script() was called incorrectly
-
I’m getting this notice on my widgets page.:
Notice: Function wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.)
I think I know what’s causing it, but I don’t know how to fix it. Despite the notice, everything seems to be working fine. What I want to know is, how important is a notice like this – if it is not actually breaking anything, is it safe to ignore it if I can’t actually fix it?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Function wp_enqueue_script() was called incorrectly’ is closed to new replies.