Make WordPress Core

Changeset 12372


Ignore:
Timestamp:
12/11/2009 04:38:59 PM (15 years ago)
Author:
ryan
Message:

Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r12316 r12372  
    14251425            $this->is_trackback = true;
    14261426
    1427         if ( '' != $qv['paged'] )
     1427        if ( '' != $qv['paged'] && ( intval($qv['paged']) > 1 ) )
    14281428            $this->is_paged = true;
    14291429
Note: See TracChangeset for help on using the changeset viewer.