[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 03:04:12 UTC 2010


#13731: delete_post action called twice in wp_delete_post
--------------------------+-------------------------------------------------
 Reporter:  mdawaffe      |       Owner:           
     Type:  defect (bug)  |      Status:  assigned 
 Priority:  normal        |   Milestone:  3.0      
Component:  General       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by nacin):

  * owner:  eddieringle =>
  * status:  accepted => assigned


Comment:

 I would tend to think the other action should be removed, the one
 immediately before the query.

 Mike,
 This was added in 2.9, but something tells me it would make a lot of sense
 to address this now and fix 2.9 in the process, versus waiting. This is a
 2.8->2.9 regression if I had to classify it. (And running this filter
 twice actually has been double-logging something on one of my sites and I
 just never realized it.)

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


More information about the wp-trac mailing list