Ticket #37251: 37251.diff
File 37251.diff, 684 bytes (added by , 9 years ago) |
---|
-
query.php
1785 1785 $this->is_home = true; 1786 1786 1787 1787 // Correct is_* for page_on_front and page_for_posts 1788 if ( $this->is_home && 'page' == get_option('show_on_front') && get_option('page_on_front') ) {1788 if ( $this->is_home && 'page' == get_option('show_on_front') && get_option('page_on_front') && !$this->is_paged ) { 1789 1789 $_query = wp_parse_args($this->query); 1790 1790 // pagename can be set and empty depending on matched rewrite rules. Ignore an empty pagename. 1791 1791 if ( isset($_query['pagename']) && '' == $_query['pagename'] )