[wp-trac] [WordPress Trac] #10441: Show warning when deprecated hook is registered
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 18 14:48:48 UTC 2009
#10441: Show warning when deprecated hook is registered
-----------------------------+----------------------------------------------
Reporter: sirzooro | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 2.9
Component: Plugins | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
At this moment WP shows warning when someone tries to use deprecated
function or file. It will be good to do the same for deprecated hooks. My
suggestion is to do this check in add_action()/add_filter() functions.
They should compare hook name against list of deprecated ones and show
warning if necessary.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10441>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list