[wp-trac] [WordPress Trac] #13731: delete_post action called twice in wp_delete_post
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 5 07:35:13 UTC 2010
#13731: delete_post action called twice in wp_delete_post
--------------------------+-------------------------------------------------
Reporter: mdawaffe | Owner: westi
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1
Component: General | Version: 2.9.2
Severity: normal | Keywords: needs-patch early
--------------------------+-------------------------------------------------
Changes (by westi):
* keywords: has-patch => needs-patch early
* owner: => westi
* version: 3.0 => 2.9.2
* milestone: 3.0 => 3.1
Comment:
We also have two calls to deleted_post in there as well.
I don't think we should rush fix this for 3.0 as it has been out in the
wild for a long while and this is the first report of an issue.
We need to review this more carefully and fix for 3.1 (we can then
backport as appropriate to 3.0.x and 2.9.x)
Also the delete_comment and deleted_comment actions in there look bogus as
they get passed an array of ids and then in wp_delete_comment we call the
actions again but with each individual id
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13731#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list