Changeset 35690 for trunk/src/wp-includes/query.php
- Timestamp:
- 11/18/2015 09:17:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r35679 r35690 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
Note: See TracChangeset
for help on using the changeset viewer.