From ae278e6d7e4e0a6a3ac468bac5f71ad6fd9a0f5a Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 26 Oct 2003 19:21:04 +0000 Subject: [PATCH] Fix for limits again. git-svn-id: https://develop.svn.wordpress.org/trunk@474 602fd350-edb4-49c9-b593-d223f7449a82 --- blog.header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog.header.php b/blog.header.php index a614897198..7bbed6060c 100644 --- a/blog.header.php +++ b/blog.header.php @@ -13,7 +13,7 @@ require_once ($curpath.$b2inc.'/b2functions.php'); require_once ($curpath.$b2inc.'/xmlrpc.inc'); require_once ($curpath.$b2inc.'/xmlrpcs.inc'); -$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'monthnum'); +$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name'); for ($i=0; $i $poststart) && (!$m) && !$month && !$year && !$day &&(!$w) && (!$whichcat) && (!$s) && (!$p)) { +if ( !empty($postend) && ($postend > $poststart) && (!$m) && empty($monthnum) && empty($year) && empty($day) &&(!$w) && (!$whichcat) && (!$s) && (!$p)) { if ($what_to_show == 'posts' || ($what_to_show == 'paged' && (!$paged))) { $poststart = intval($poststart); $postend = intval($postend);