Allow query to take better advantage of query caching.

git-svn-id: http://svn.automattic.com/wordpress/trunk@890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-18 11:47:14 +00:00
parent f1e1c801ae
commit 4fa9bde6ff

View File

@ -370,7 +370,7 @@ if ($p == 'all') {
$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 ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {