Let wp_insert_post() figure out the GMT date.
git-svn-id: https://develop.svn.wordpress.org/trunk@2970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
de8d78270a
commit
6fcc709db0
@ -98,7 +98,6 @@ class RSS_Import {
|
||||
|
||||
$post_author = 1;
|
||||
$post_status = 'publish';
|
||||
$post_date_gmt = $post_date; // FIXME
|
||||
$this->posts[$index] = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'guid', 'categories');
|
||||
$index++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user