mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Refactor login. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1062,7 +1062,7 @@ function wp_insert_post($postarr = array()) {
|
||||
$post_date_gmt = '0000-00-00 00:00:00';
|
||||
}
|
||||
|
||||
if ( $update ) {
|
||||
if ( $update || '0000-00-00 00:00:00' == $post_date ) {
|
||||
$post_modified = current_time( 'mysql' );
|
||||
$post_modified_gmt = current_time( 'mysql', 1 );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user