[wp-trac] [WordPress Trac] #22250: Useful helper function, add_action_with_args()
WordPress Trac
noreply at wordpress.org
Mon Oct 22 18:32:52 UTC 2012
#22250: Useful helper function, add_action_with_args()
-------------------------+----------------------
Reporter: rzen | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: close |
-------------------------+----------------------
Changes (by scribu):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Yes, anonymous functions are also hard to unhook, but the syntax is a lot
clearer; with add_action_with_args() you just have a mess of parameters.
Either way, it just doesn't make sense to add a helper that would become
obsolete after a few releases.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22250#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list