[wp-trac] [WordPress Trac] #13731: delete_post action called twice in wp_delete_post

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 12 03:41:43 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
--------------------------+-------------------------------------------------

Comment(by greuben):

 Maybe we can rename the first action to "delete_post_before" or
 "before_delete_post" and make "delete_comment" and "deleted_comment"
 plurals( since they are array of ID's ).

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


More information about the wp-trac mailing list