Changeset 19093
- Timestamp:
- 10/31/2011 05:08:36 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r19013 r19093 551 551 <p class="submit"> 552 552 <input type="hidden" name="action" id="quickpost-action" value="post-quickpress-save" /> 553 <input type="hidden" name=" quickpress_post_ID" value="<?php echo $post_ID; ?>" />553 <input type="hidden" name="post_ID" value="<?php echo $post_ID; ?>" /> 554 554 <input type="hidden" name="post_type" value="post" /> 555 555 <?php wp_nonce_field('add-post'); ?> -
trunk/wp-admin/post.php
r19052 r19093 21 21 elseif ( isset( $_POST['post_ID'] ) ) 22 22 $post_id = $post_ID = (int) $_POST['post_ID']; 23 23 else 24 24 $post_id = $post_ID = 0; 25 25 … … 103 103 $_POST['comment_status'] = get_option('default_comment_status'); 104 104 $_POST['ping_status'] = get_option('default_ping_status'); 105 }106 107 if ( !empty( $_POST['quickpress_post_ID'] ) ) {108 $_POST['post_ID'] = (int) $_POST['quickpress_post_ID'];109 105 $post_id = edit_post(); 110 106 } else {
Note: See TracChangeset
for help on using the changeset viewer.