now posts show up :P

git-svn-id: http://svn.automattic.com/wordpress/trunk@922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-02-23 14:14:49 +00:00
parent 64aa448dc3
commit 1c018fa613
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ if ($p == 'all') {
$where = ''; $where = '';
} }
$now = date('Y-m-d H:i:00',(time() + ($time_difference * 3600))); $now = gmdate('Y-m-d H:i:s');
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)) {