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

View File

@ -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'] )