#15144 closed defect (bug) (invalid)
register_widget_control deprecated, but still referenced in 3.0.1
Reported by: | Ron C | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Turning on WP_DEBUG generates the following when logged in as admin:
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in XXX/wp-includes/functions.php on line 3237
Change History (3)
Note: See
TracTickets for help on using
tickets.
That's because the function that outputs the notice is defined in wp-includes/functions.php
Add this code in a file in mu-plugins.php and you'll see where register_sidebar_widget() is actually called from: http://gist.github.com/625748