Allow query to take better advantage of query caching.

git-svn-id: https://develop.svn.wordpress.org/trunk@890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-02-18 11:47:14 +00:00
parent 4382e7bddf
commit 29186e5d6b
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ if ($p == 'all') {
$where = ''; $where = '';
} }
$now = date('Y-m-d H:i:s',(time() + ($time_difference * 3600))); $now = date('Y-m-d H:i:00',(time() + ($time_difference * 3600)));
if ($pagenow != 'post.php' && $pagenow != 'edit.php') { if ($pagenow != 'post.php' && $pagenow != 'edit.php') {
if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) { if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {