You should be able to change the defaults

git-svn-id: https://develop.svn.wordpress.org/trunk@2753 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-08-05 20:44:18 +00:00
parent 823a96af43
commit 593b6b49ab
2 changed files with 22 additions and 10 deletions

View File

@@ -92,7 +92,13 @@ function edit_post() {
if ( 'publish' == $_POST['post_status'] && ! current_user_can('publish_posts') )
$_POST['post_status'] = 'draft';
if ( !isset($_POST['comment_status']) )
$_POST['comment_status'] = 'closed';
if ( !isset($_POST['ping_status']) )
$_POST['ping_status'] = 'closed';
if ( !empty($_POST['edit_date']) ) {
$aa = $_POST['aa'];
$mm = $_POST['mm'];