Make WordPress Core

Ticket #3682: is_home.fix.diff

File is_home.fix.diff, 468 bytes (added by m0n5t3r, 18 years ago)
  • wp-includes/query.php

     
    619619
    620620                if ( $this->is_home && (empty($this->query) || $q['preview'] == 'true') && ( 'page' == get_option('show_on_front') ) && get_option('page_on_front') ) {
    621621                        $this->is_page = true;
    622                         $this->is_home = false;
    623622                        $q['page_id'] = get_option('page_on_front');
    624623                }
    625624