git-svn-id: http://svn.automattic.com/wordpress/trunk@1572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-08-28 08:54:44 +00:00
parent 17433d3a32
commit 37aedcd902

View File

@ -486,7 +486,7 @@ case 'delete':
$sendback = $_SERVER['HTTP_REFERER'];
if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post.php';
header ('Location: ' . $sendback);
do_action('delete_post', $post_ID);
do_action('delete_post', $post_id);
break;
case 'editcomment':