Show
Ignore:
Timestamp:
01/04/08 08:46:33 (1 year ago)
Author:
ryan
Message:

Port autosave to jquery. Props rmccue. see #3824

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/post.php

    r6537 r6546  
    10031003        if ( !in_array($post_status, array('draft', 'pending')) ) 
    10041004            $post_date = current_time('mysql'); 
     1005        else 
     1006            $post_date = '0000-00-00 00:00:00'; 
    10051007    } 
    10061008 
     
    10081010        if ( !in_array($post_status, array('draft', 'pending')) ) 
    10091011            $post_date_gmt = get_gmt_from_date($post_date); 
     1012        else 
     1013            $post_date_gmt = '0000-00-00 00:00:00'; 
    10101014    } 
    10111015