From 6622b4fa8ea0218ea387b943c60d0bd87bc02c5e Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Dec 2009 16:38:59 +0000 Subject: [PATCH] Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389 git-svn-id: http://svn.automattic.com/wordpress/trunk@12372 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index a5d53ca120..cb04b6af87 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1424,7 +1424,7 @@ class WP_Query { if ( '' != $qv['tb'] ) $this->is_trackback = true; - if ( '' != $qv['paged'] ) + if ( '' != $qv['paged'] && ( intval($qv['paged']) > 1 ) ) $this->is_paged = true; if ( '' != $qv['comments_popup'] )