• Resolved Guido

    (@guido07111975)


    Hi Danny,

    With WP 6.4 and debugging turned on I get this warning:

    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).

    Guido

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DannyCooper

    (@dannycooper)

    Hi @guido07111975,

    Is this notice definitely generated by Fonts Plugin? We have our testing development on the latest version of WP with the highest level of debug logging enabled and we can’t replicate this.

    Thread Starter Guido

    (@guido07111975)

    Hi Danny,

    Have just tested this on another site, with debugging on and only your plugin active.
    It only occurs on the (default) 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.) in my-domain/public_html/wp/wp-includes/functions.php on line 6031

    Strangely enough no direct link to your plugin.

    Guido

    Plugin Author DannyCooper

    (@dannycooper)

    You are exactly right, Guido! I’ve just released a fix (3.4.8) that should resolve this.

    Thanks!

    Thread Starter Guido

    (@guido07111975)

    And I hereby confirm it’s fixed ??

    Guido

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice about function wp_enqueue_script()’ is closed to new replies.