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
1 changed files with 1 additions and 1 deletions

View File

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