Ticket #20899: 20899.diff
File 20899.diff, 826 bytes (added by , 9 years ago) |
---|
-
wp-includes/query.php
1748 1748 if ( $this->is_feed && ( !empty($qv['withcomments']) || ( empty($qv['withoutcomments']) && $this->is_singular ) ) ) 1749 1749 $this->is_comment_feed = true; 1750 1750 1751 if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_ feed || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup || $this->is_robots ) )1751 if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup || $this->is_robots ) ) 1752 1752 $this->is_home = true; 1753 1753 1754 1754 // Correct is_* for page_on_front and page_for_posts