git-svn-id: https://develop.svn.wordpress.org/trunk@1572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-08-28 08:54:44 +00:00
parent d89603ce20
commit 8e4263c25d
1 changed files with 1 additions and 1 deletions

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':