Changeset 8832

Show
Ignore:
Timestamp:
09/06/08 05:16:56 (3 months ago)
Author:
azaozz
Message:

Fix saving as draft, see #7672

Files:

Legend:

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

    r8830 r8832  
    8888 
    8989    if ( 'post-quickpress-publish' == $action ) 
    90      
     90        $_POST['publish'] = 'publish'; // tell write_post() to publish 
     91 
     92    if ( 'post-quickpress-publish' == $action || 'post-quickpress-save' == $action ) { 
    9193        $_POST['comment_status'] = get_option('default_comment_status'); 
    9294        $_POST['ping_status'] = get_option('default_ping_status'); 
    93          
    94         $_POST['publish'] = 'publish'; // tell write_post() to publish 
     95    } 
    9596 
    9697    if ( !empty( $_POST['quickpress_post_ID'] ) ) {