fixed zealous mistake
git-svn-id: http://svn.automattic.com/wordpress/trunk@937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
179d7538d9
commit
e0d7119fe0
|
@ -386,7 +386,7 @@ $now = gmdate('Y-m-d H:i:00');
|
||||||
|
|
||||||
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)) {
|
||||||
$where .= " AND $wp_posts_post_date_field <= '$now'";
|
$where .= " AND post_date <= '$now'";
|
||||||
}
|
}
|
||||||
|
|
||||||
$distinct = 'DISTINCT';
|
$distinct = 'DISTINCT';
|
||||||
|
|
Loading…
Reference in New Issue