[wp-trac] [WordPress Trac] #15628: Trash_post action runs twice for each call

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 7 20:03:33 UTC 2010


#15628: Trash_post action runs twice for each call
--------------------------+-------------------------------------------------
 Reporter:  b-rad         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0.2          
 Severity:  normal        |    Keywords:  trash_post     
--------------------------+-------------------------------------------------

Comment(by b-rad):

 I'm testing it by trashing a single, new test post. I'm the only user in
 the system and there's nothing special about the posts being used as test
 cases. When I trash one post, no other posts are being trashed or marked
 as trashed (i.e. only the post I'm trashing actually gets trashed as
 expected, yet the action runs twice). I've looked at wp-includes/post.php
 for a reason for this but haven't found one. But then again, I don't know
 exactly what the start to finish process is when Wordpress goes through a
 trash operation.

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


More information about the wp-trac mailing list