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:
parent
f73218bb31
commit
2ddaa07123
|
@ -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