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:
parent
92b7e672a4
commit
1710312617
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue