Make WordPress Core


Ignore:
Timestamp:
01/18/2007 03:32:54 AM (18 years ago)
Author:
ryan
Message:

Autosave fixes from mdawaffe. fixes #3601

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r4658 r4760  
    1818if (0 == $post_ID) {
    1919    $form_action = 'post';
    20     $temp_ID = -1 * time();
     20    $temp_ID = -1 * time(); // don't change this formula without looking at wp_write_post()
    2121    $form_extra = "<input type='hidden' id='post_ID' name='temp_ID' value='$temp_ID' />";
    2222    wp_nonce_field('add-post');
Note: See TracChangeset for help on using the changeset viewer.