added in start_wp: $post->post_date_gmt is the gmt version of post_date

git-svn-id: http://svn.automattic.com/wordpress/trunk@919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-02-23 05:41:14 +00:00
parent f73218bb31
commit 2ddaa07123
1 changed files with 2 additions and 0 deletions

View File

@ -1148,6 +1148,8 @@ function start_wp() {
$pages[0] = stripslashes($post->post_content);
$multipage = 0;
}
$post->post_date_gmt = $post->post_date;
$post->post_date = get_date_from_gmt($post->post_date);
return true;
}