[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 00:23:42 UTC 2010
#13731: delete_post action called twice in wp_delete_post
--------------------------+-------------------------------------------------
Reporter: mdawaffe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
wp_delete_post() calls the delete_post action twice.
http://core.trac.wordpress.org/browser/trunk/wp-
includes/post.php?rev=15056#L1727
http://core.trac.wordpress.org/browser/trunk/wp-
includes/post.php?rev=15056#L1782
Introduced in [11968]/#10750
I see that wp_delete_attachment() does delete_attachment, delete_post,
deleted_post.
So wp_delete_post is following the same pattern, except that it ends up
being: delete_post, delete_post, deleted_post.
Marking as 3.0, but it's technically an API change, so may have to bump.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13731>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list