[wp-trac] [WordPress Trac] #10441: Show warning when deprecated hook is registered

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 28 05:39:24 UTC 2011


#10441: Show warning when deprecated hook is registered
--------------------------------------+-----------------------------
 Reporter:  sirzooro                  |       Owner:
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Plugins                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => needs-patch dev-feedback


Comment:

 @nacin, are you still working on a patch? :P

 I was thinking that rather than check for deprecated actions every time
 `do_action` is run, we might introduce functions like
 `do_deprecated_action()` / `apply_deprecated_filter()` which issue a
 warning and then run the action. Thoughts?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10441#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list