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

git-svn-id: https://develop.svn.wordpress.org/trunk@919 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-02-23 05:41:14 +00:00
parent 92b7e672a4
commit 1710312617
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;
}