From 38361b3edfe2e0c28d58c740424fea27691f7bd4 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Wed, 7 Jan 2004 17:36:54 +0000 Subject: [PATCH] added a check for edit.php when excluding future posts git-svn-id: http://svn.automattic.com/wordpress/trunk@736 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index 6d6433a4bc..98079950ba 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -285,7 +285,7 @@ if ($p == 'all') { $now = date('Y-m-d H:i:s',(time() + ($time_difference * 3600))); -if ($pagenow != 'post.php') { +if ($pagenow != 'post.php' && $pagenow != 'edit.php') { if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) { $where .= ' AND post_date <= \''.$now.'\''; }