WordPress.org

Make WordPress Core


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

Autosave fixes from mdawaffe. fixes #3601

File:
1 edited

Legend:

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

    r4658 r4760  
    66    $form_action = 'post';
    77    $nonce_action = 'add-page';
    8     $temp_ID = -1 * time();
     8    $temp_ID = -1 * time(); // don't change this formula without looking at wp_write_post()
    99    $form_extra = "<input type='hidden' id='post_ID' name='temp_ID' value='$temp_ID' />";
    1010} else {
Note: See TracChangeset for help on using the changeset viewer.