Make WordPress Core

Changeset 1904


Ignore:
Timestamp:
11/29/2004 11:37:29 PM (21 years ago)
Author:
rboren
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.