Changeset 1904

Show
Ignore:
Timestamp:
11/29/04 23:37:29 (4 years ago)
Author:
rboren
Message:

Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-blog-header.php

    r1877 r1904  
    256256            include("$wp_template_dir/search.php"); 
    257257            exit; 
     258        } else if (is_paged() && 
     259                             file_exists("$wp_template_dir/paged.php")) { 
     260            $wp_did_template_redirect = true; 
     261            include("$wp_template_dir/paged.php"); 
     262            exit; 
    258263        } else if (file_exists("$wp_template_dir/index.php")) 
    259264            { 
  • trunk/wp-includes/classes.php

    r1871 r1904  
    177177        } 
    178178 
    179         if ( ($this->is_date || $this->is_author || $this->is_category || $this->is_paged
     179        if ( ($this->is_date || $this->is_author || $this->is_category
    180180                 && (! ($this->is_single || $this->is_page)) ) { 
    181181            $this->is_archive = true;