mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
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:
parent
9a24103c77
commit
6622b4fa8e
|
|
@ -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'] )
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user