From e13b370b3d5d197cbea52df104a11b431d9174c9 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 14 Nov 2005 23:28:10 +0000 Subject: [PATCH] Mystery of the disappearing post solved, fixes #1879 git-svn-id: http://svn.automattic.com/wordpress/trunk@3089 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index a8333b2228..a16f59f13a 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -618,7 +618,7 @@ class WP_Query { } } } else { - if (mysql2date('U', $this->posts[0]->post_date) > mysql2date('U', $now)) { //it's future dated + if (mysql2date('U', $this->posts[0]->post_date_gmt) > mysql2date('U', $now)) { //it's future dated $this->is_preview = true; if (!current_user_can('edit_post', $this->posts[0]->ID)) { $this->posts = array ( );