[wp-trac] [WordPress Trac] #24429: Provide a way to deprecate and/or rename hooks

WordPress Trac noreply at wordpress.org
Mon May 27 04:01:39 UTC 2013


#24429: Provide a way to deprecate and/or rename hooks
-------------------------+------------------------
 Reporter:  ryanve       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |
-------------------------+------------------------

Comment (by ryanve):

 #10441 relates but does not duplicate. This one allows one hook to replace
 another, but does not force warnings. An important reason for this is to
 help make theme/plugin updates more seamless. Warnings should be opt in,
 and could be done via `deprecate_filter` as an option or filter there.

 The **primary** feature request here is to enable a way to modify the
 `$tag` at the time a filter is added for it. Other features could build
 off that. Handling deprecations are just one application. I think my last
 block is the better one. It's missing a paren, but you get the idea.

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


More information about the wp-trac mailing list