diff --git a/wp-includes/post.php b/wp-includes/post.php index d305dd82e8..c4ce1af425 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2075,7 +2075,7 @@ function wp_trash_post($post_id = 0) { if ( $post['post_status'] == 'trash' ) return false; - do_action('trash_post', $post_id); + do_action('wp_trash_post', $post_id); add_post_meta($post_id,'_wp_trash_meta_status', $post['post_status']); add_post_meta($post_id,'_wp_trash_meta_time', time());