mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
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:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user