Let wp_insert_post() figure out the GMT date.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5aa1e12f58
commit
e3cb2254cd
|
@ -98,7 +98,7 @@ class RSS_Import {
|
|||
|
||||
$post_author = 1;
|
||||
$post_status = 'publish';
|
||||
$this->posts[$index] = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'guid', 'categories');
|
||||
$this->posts[$index] = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status', 'guid', 'categories');
|
||||
$index++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue