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

WordPress Trac noreply at wordpress.org
Fri Jun 10 23:36:38 UTC 2016


#10441: Show warning when deprecated hook is registered
------------------------------------+---------------------------
 Reporter:  sirzooro                |       Owner:  boonebgorges
     Type:  feature request         |      Status:  accepted
 Priority:  normal                  |   Milestone:  4.6
Component:  Plugins                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+---------------------------

Comment (by DrewAPicture):

 @boonebgorges: I like this.

 Do we have any idea of the scope this would be applied in the current core
 landscape? I know there's a few "deprecated" hooks scattered about. And
 how would you propose documenting these new function calls in-place?
 Simply adding `@deprecated` tags in the hook docs?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10441#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list