Ticket #19907: 27578.diff
File 27578.diff, 519 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/post.php
2826 2826 else 2827 2827 $post_date_gmt = '0000-00-00 00:00:00'; 2828 2828 } 2829 elseif ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) ) { 2830 $post_date_gmt = '0000-00-00 00:00:00'; 2831 } 2829 2832 2830 2833 if ( $update || '0000-00-00 00:00:00' == $post_date ) { 2831 2834 $post_modified = current_time( 'mysql' );