WordPress.org

Make WordPress Core

Ticket #20899: 20899.diff

File 20899.diff, 826 bytes (added by stevenkword, 4 years ago)
  • wp-includes/query.php

     
    17481748                if ( $this->is_feed && ( !empty($qv['withcomments']) || ( empty($qv['withoutcomments']) && $this->is_singular ) ) )
    17491749                        $this->is_comment_feed = true;
    17501750
    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 ) )
    17521752                        $this->is_home = true;
    17531753
    17541754                // Correct is_* for page_on_front and page_for_posts