New Debug “Doing it wrong” Message
-
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
- The topic ‘New Debug “Doing it wrong” Message’ is closed to new replies.