WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2008 08:46:33 AM (14 years ago)
Author:
ryan
Message:

Port autosave to jquery. Props rmccue. see #3824

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.