Make WordPress Core


Ignore:
Timestamp:
06/14/2006 09:49:10 PM (18 years ago)
Author:
ryan
Message:

Query fix from skeltoac. fixes #2822

File:
1 edited

Legend:

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

    r3867 r3869  
    547547        }
    548548
    549         if ( $this->is_home && ( 'page' == get_option('show_on_front') ) && get_option('page_on_front') ) {
     549        if ( $this->is_home && empty($this->query) && ( 'page' == get_option('show_on_front') ) && get_option('page_on_front') ) {
    550550            $this->is_page = true;
    551551            $this->is_home = false;
Note: See TracChangeset for help on using the changeset viewer.