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

WordPress Trac noreply at wordpress.org
Mon May 27 04:04:25 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 nacin):

 Replying to [comment:2 ryanve]:
 > 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.

 Wontfix. The API doesn't need this extra baggage. This would slow things
 down immensely.

 Either don't rename filters, or leave the old ones there. No amount of
 extra code is going to make that easier.

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


More information about the wp-trac mailing list