Changeset 14216
- Timestamp:
- 04/24/2010 04:24:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r14155 r14216 188 188 189 189 add_meta( $post_ID ); 190 191 update_post_meta( $post_ID, '_edit_last', $GLOBALS['current_user']->ID ); 190 192 191 193 wp_update_post( $post_data ); … … 539 541 add_meta( $post_ID ); 540 542 543 add_post_meta( $post_ID, '_edit_last', $GLOBALS['current_user']->ID ); 544 541 545 // Reunite any orphaned attachments with their parent 542 546 // Does this need to be udpated? ~ Mark … … 1195 1199 $now = time(); 1196 1200 1197 if ( !add_post_meta( $post->ID, '_edit_lock', $now, true ) ) 1198 update_post_meta( $post->ID, '_edit_lock', $now ); 1199 if ( !add_post_meta( $post->ID, '_edit_last', $current_user->ID, true ) ) 1200 update_post_meta( $post->ID, '_edit_last', $current_user->ID ); 1201 update_post_meta( $post->ID, '_edit_lock', $now ); 1201 1202 } 1202 1203
Note: See TracChangeset
for help on using the changeset viewer.