Ticket #7672: 8795.post.php.patch
File 8795.post.php.patch, 503 bytes (added by , 16 years ago) |
---|
-
post.php
83 83 check_admin_referer('add-post'); 84 84 85 85 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 86 90 $_POST['publish'] = 'publish'; // tell write_post() to publish 87 91 88 92 if ( !empty( $_POST['quickpress_post_ID'] ) ) {