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:
parent
4382e7bddf
commit
29186e5d6b
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue