WordPress.org

Make WordPress Core

Ticket #14779: query.diff

File query.diff, 875 bytes (added by nazieb, 8 years ago)
  • wp-includes/query.php

     
    13971397                if ( $this->is_feed && ( !empty($qv['withcomments']) || ( empty($qv['withoutcomments']) && $this->is_singular ) ) )
    13981398                        $this->is_comment_feed = true;
    13991399
    1400                 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 ) )
     1400                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 || $this->is_paged) )
    14011401                        $this->is_home = true;
    14021402
    14031403                // Correct is_* for page_on_front and page_for_posts