Ticket #18642: autosave_ping.diff
| File autosave_ping.diff, 558 bytes (added by benbalter, 21 months ago) |
|---|
-
wp-admin/admin-ajax.php
988 988 $id = $post->ID; 989 989 } 990 990 991 if ( $do_lock && ( isset( $_POST['auto_draft'] ) && ( $_POST['auto_draft'] != '1' ) ) && $id && is_numeric($id) ) 991 //auto_draft will either be 1 (and thus ID ='s 0) or not POST'd at all 992 if ( $do_lock && !isset( $_POST['auto_draft'] ) && $id && is_numeric($id) ) 992 993 wp_set_post_lock( $id ); 993 994 994 995 if ( $nonce_age == 2 ) {
