From 17103126177dd9db5c14e86d3ca5965ba0b6cb67 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Mon, 23 Feb 2004 05:41:14 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 4f15c60f09..d8fff84ac7 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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; }