Make WordPress Core


Ignore:
Timestamp:
11/20/2004 06:32:31 PM (21 years ago)
Author:
rboren
Message:

Add is_paged().

File:
1 edited

Legend:

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

    r1835 r1871  
    4242        $this->is_home = false;
    4343        $this->is_404 = false;
     44        $this->is_paged = false;
    4445
    4546        unset($this->posts);
     
    172173        }
    173174
    174         if ( ($this->is_date || $this->is_author || $this->is_category)
     175        if ('' != $qv['paged']) {
     176            $this->is_paged = true;
     177        }
     178
     179        if ( ($this->is_date || $this->is_author || $this->is_category || $this->is_paged)
    175180                 && (! ($this->is_single || $this->is_page)) ) {
    176181            $this->is_archive = true;
Note: See TracChangeset for help on using the changeset viewer.