• Resolved JP3

    (@jp3)


    Just passing on what I run across with full debugging enabled after the last update:

    `require (wp-admin/widgets.php => 32)
    require_once (wp-admin/widgets-form-blocks.php => 70)
    do_action (wp-admin/admin-header.php => 163) (admin_head)
    WP_Hook->do_action (wp-includes/plugin.php => 476) ()
    WP_Hook->apply_filters (wp-includes/class-wp-hook.php => 331)
    wp_check_widget_editor_deps (wp-includes/class-wp-hook.php => 307)
    _doing_it_wrong (wp-includes/widgets.php => 2090)
    WP_Hook->do_action (wp-includes/plugin.php => 476) (wp_enqueue_script())
    WP_Hook->apply_filters (wp-includes/class-wp-hook.php => 331)
    “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets).`

    Enable this plugin, messages show. Disable plugin and they go away.

    Not a hard error and everything seems to work fine, but it’s more like a “best practices” WP nag message. FYI

Viewing 1 replies (of 1 total)
  • Plugin Author Ciprian

    (@butterflymedia)

    That is strange, as I am not using the widgets anywhere in the plugin, nor are they included or enqueued. I am not able to reproduce the error. Maybe it’s a conflict with another plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘New Debug “Doing it wrong” Message’ is closed to new replies.