oops, we were setting post_status when we should have been setting ping_status
git-svn-id: https://develop.svn.wordpress.org/trunk@1050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
baf38808af
commit
ef05a0a331
|
@ -303,7 +303,7 @@ switch($action) {
|
||||||
$comment_status = $HTTP_POST_VARS['comment_status'];
|
$comment_status = $HTTP_POST_VARS['comment_status'];
|
||||||
if (empty($comment_status)) $post_status = get_settings('default_comment_status');
|
if (empty($comment_status)) $post_status = get_settings('default_comment_status');
|
||||||
$ping_status = $HTTP_POST_VARS['ping_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_password = addslashes($HTTP_POST_VARS['post_password']);
|
||||||
$post_name = sanitize_title($_POST['post_name']);
|
$post_name = sanitize_title($_POST['post_name']);
|
||||||
if (empty($post_name)) $post_name = sanitize_title($post_title);
|
if (empty($post_name)) $post_name = sanitize_title($post_title);
|
||||||
|
|
Loading…
Reference in New Issue