WordPress.org

Make WordPress Core

Ticket #6527: post.php.diff

File post.php.diff, 435 bytes (added by techcookies, 12 years ago)
  • post.php

     
    12311231                        $post_date = '0000-00-00 00:00:00';
    12321232        }
    12331233
    1234         if (empty($post_date_gmt)) {
     1234        if (empty($post_date_gmt) || '0000-00-00 00:00:00' == $post_date_gmt) {
    12351235                if ( !in_array($post_status, array('draft', 'pending')) )
    12361236                        $post_date_gmt = get_gmt_from_date($post_date);
    12371237                else