diff --git src/wp-includes/query.php src/wp-includes/query.php
index 5a6a6eb..a2b2365 100644
|
|
|
class WP_Query { |
| 1811 | 1811 | if ( $this->is_feed && ( !empty($qv['withcomments']) || ( empty($qv['withoutcomments']) && $this->is_singular ) ) ) |
| 1812 | 1812 | $this->is_comment_feed = true; |
| 1813 | 1813 | |
| 1814 | | 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 ) ) |
| | 1814 | if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_feed || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup || $this->is_robots ) ) |
| 1815 | 1815 | $this->is_home = true; |
| 1816 | 1816 | |
| 1817 | 1817 | // Correct is_* for page_on_front and page_for_posts |