Ticket #4855: edit-form-advanced.php.diff
| File edit-form-advanced.php.diff, 567 bytes (added by , 18 years ago) |
|---|
-
edit-form-advanced.php
19 19 20 20 if (0 == $post_ID) { 21 21 $form_action = 'post'; 22 $temp_ID = -1 * time() ; // don't change this formula without looking at wp_write_post()22 $temp_ID = -1 * time() + 1; // don't change this formula without looking at wp_write_post() 23 23 $form_extra = "<input type='hidden' id='post_ID' name='temp_ID' value='$temp_ID' />"; 24 24 wp_nonce_field('add-post'); 25 25 } else {