Changeset 47635
- Timestamp:
- 04/29/2020 03:26:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r47557 r47635 812 812 } elseif ( $qv['p'] ) { 813 813 $this->is_single = true; 814 } elseif ( ( '' !== $qv['hour'] ) && ( '' !== $qv['minute'] ) && ( '' !== $qv['second'] ) && ( '' != $qv['year'] ) && ( '' != $qv['monthnum'] ) && ( '' != $qv['day'] ) ) {815 // If year, month, day, hour, minute, and second are set,816 // a single post is being queried.817 $this->is_single = true;818 814 } elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { 819 815 $this->is_page = true;
Note: See TracChangeset
for help on using the changeset viewer.