WordPress.org

Make WordPress Core

Changeset 4463


Ignore:
Timestamp:
11/11/06 18:25:42 (8 years ago)
Author:
ryan
Message:

is_singular should be false for the posts page. Props mdawaffe. fixes #3351

File:
1 edited

Legend:

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

    r4460 r4463  
    696696 
    697697            if  ( ('page' == get_option('show_on_front') ) && ( $reqpage == get_option('page_for_posts') ) ) { 
     698                $this->is_singular = false; 
    698699                $this->is_page = false; 
    699700                $this->is_home = true; 
     
    735736            $q['page_id'] = intval($q['page_id']); 
    736737            if  ( ('page' == get_option('show_on_front') ) && ( $q['page_id'] == get_option('page_for_posts') ) ) { 
     738                $this->is_singular = false; 
    737739                $this->is_page = false; 
    738740                $this->is_home = true; 
Note: See TracChangeset for help on using the changeset viewer.