From 95f2058f8bb9b8679e367e7394cf385d044bb001 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@12372 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'] )