Let wp_insert_post() figure out the GMT date.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f081b601cc
commit
5aa1e12f58
|
@ -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