Ticket #3682: is_home.fix.diff

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

    old new  
    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