summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/classes.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-20 17:03:17 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-20 17:03:17 +0000
commitde23735d75bd523cea68e43fc1ef717eb440d069 (patch)
tree324aec89bd3e3ed45a3976d526b6abd50bb5d230 /wp-inst/wp-includes/classes.php
parent42ad115c5b6e5d184a54f825a5c24b19a3b30fb3 (diff)
downloadwordpress-mu-de23735d75bd523cea68e43fc1ef717eb440d069.tar.gz
wordpress-mu-de23735d75bd523cea68e43fc1ef717eb440d069.tar.xz
wordpress-mu-de23735d75bd523cea68e43fc1ef717eb440d069.zip
WP Merge
Removed Legacy Code (Thanks IT Damager) createBlog - only backup roles class if it exists! git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@507 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/classes.php')
-rw-r--r--wp-inst/wp-includes/classes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/classes.php b/wp-inst/wp-includes/classes.php
index 6226bf4..fe4b735 100644
--- a/wp-inst/wp-includes/classes.php
+++ b/wp-inst/wp-includes/classes.php
@@ -662,6 +662,7 @@ class WP_Query {
$this->posts = array();
} else {
$this->is_preview = true;
+ $this->posts[0]->post_date = current_time('mysql');
}
} else {
if (! current_user_can('read_post', $this->posts[0]->ID))