From 3fd1adb07f6356d60a98f22c391d7b64dbf2b4a2 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Sun, 4 Apr 2004 01:44:34 +0000 Subject: [PATCH] oops, we were setting post_status when we should have been setting ping_status git-svn-id: http://svn.automattic.com/wordpress/trunk@1050 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 a0bd67390..04ce3c6f3 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -303,7 +303,7 @@ switch($action) { $comment_status = $HTTP_POST_VARS['comment_status']; if (empty($comment_status)) $post_status = get_settings('default_comment_status'); $ping_status = $HTTP_POST_VARS['ping_status']; - if (empty($ping_status)) $post_status = get_settings('default_ping_status'); + if (empty($ping_status)) $ping_status = get_settings('default_ping_status'); $post_password = addslashes($HTTP_POST_VARS['post_password']); $post_name = sanitize_title($_POST['post_name']); if (empty($post_name)) $post_name = sanitize_title($post_title);