added a check for edit.php when excluding future posts

git-svn-id: https://develop.svn.wordpress.org/trunk@736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Alex King 2004-01-07 17:36:54 +00:00
parent c52d705679
commit 4b2627ef26
1 changed files with 1 additions and 1 deletions

View File

@ -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.'\'';
}