WordPress 3.8.1
[autoinstalls/wordpress.git] / wp-admin / post.php
index 09a31ae4db10145b6884b0739b63a28de785343c..a4f5cc7408d27e99bb1f79fbf3d36b4f474fc3cc 100644 (file)
@@ -117,6 +117,10 @@ case 'post-quickdraft-save':
 
        $post = get_post( $_REQUEST['post_ID'] );
        check_admin_referer( 'add-' . $post->post_type );
+
+       $_POST['comment_status'] = get_option( 'default_comment_status' );
+       $_POST['ping_status'] = get_option( 'default_ping_status' );
+
        edit_post();
        // output the quickdraft dashboard widget
        require_once(ABSPATH . 'wp-admin/includes/dashboard.php');