[wp-trac] [WordPress Trac] #20645: 'delete_term' action doesn't pass the deleted term object
WordPress Trac
wp-trac at lists.automattic.com
Wed May 9 17:52:09 UTC 2012
#20645: 'delete_term' action doesn't pass the deleted term object
--------------------------+------------------------------
Reporter: bigdawggi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by bigdawggi):
Correction, the 'created_term' action passes the term ID as the first
parameter -- not the object.
I still think that we should pass the term object to the 'delete_term'
action, since the actions hooking on that cannot look up the term any more
and we may as well pass the object that has more information about the
term around.
Open to suggestions...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20645#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list