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:
parent
c52d705679
commit
4b2627ef26
@ -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.'\'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user