Index: /Users/denis/Sites/wp/wp-includes/post.php
===================================================================
--- /Users/denis/Sites/wp/wp-includes/post.php	(revision 10857)
+++ /Users/denis/Sites/wp/wp-includes/post.php	(working copy)
@@ -1159,8 +1159,6 @@
 	foreach ( $revision_ids as $revision_id )
 		wp_delete_post_revision( $revision_id );
 
-	do_action('deleted_post', $postid);
-
 	// Point all attachments to this post up one level
 	$wpdb->update( $wpdb->posts, $parent_data, $parent_where + array( 'post_type' => 'attachment' ) );
 
@@ -1181,6 +1179,8 @@
 		clean_post_cache($postid);
 	}
 
+	do_action('deleted_post', $postid);
+
 	return $post;
 }
 
