Ticket #3682: is_home.fix.diff
File is_home.fix.diff, 468 bytes (added by , 18 years ago) |
---|
-
wp-includes/query.php
619 619 620 620 if ( $this->is_home && (empty($this->query) || $q['preview'] == 'true') && ( 'page' == get_option('show_on_front') ) && get_option('page_on_front') ) { 621 621 $this->is_page = true; 622 $this->is_home = false;623 622 $q['page_id'] = get_option('page_on_front'); 624 623 } 625 624