Changeset 8797

Show
Ignore:
Timestamp:
09/03/08 07:13:51 (3 months ago)
Author:
westi
Message:

Set comment and ping status when QuickPressing?. Fixes #7672 props ShaneF.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/post.php

    r8780 r8797  
    8484 
    8585    if ( 'post-quickpress-publish' == $action ) 
     86     
     87        $_POST['comment_status'] = get_option('default_comment_status'); 
     88        $_POST['ping_status'] = get_option('default_ping_status'); 
     89         
    8690        $_POST['publish'] = 'publish'; // tell write_post() to publish 
    8791