From 37aedcd90279f8923e0986c7cb61effdb5423a49 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 28 Aug 2004 08:54:44 +0000 Subject: [PATCH] Case typo in delete_post API hook. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000228 git-svn-id: http://svn.automattic.com/wordpress/trunk@1572 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index b3d4645814..74004755d6 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -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':