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
This commit is contained in:
ryan 2009-12-11 16:38:59 +00:00
parent 9a24103c77
commit 6622b4fa8e
1 changed files with 1 additions and 1 deletions

View File

@ -1424,7 +1424,7 @@ class WP_Query {
if ( '' != $qv['tb'] ) if ( '' != $qv['tb'] )
$this->is_trackback = true; $this->is_trackback = true;
if ( '' != $qv['paged'] ) if ( '' != $qv['paged'] && ( intval($qv['paged']) > 1 ) )
$this->is_paged = true; $this->is_paged = true;
if ( '' != $qv['comments_popup'] ) if ( '' != $qv['comments_popup'] )