Changeset 46479
- Timestamp:
- 10/14/2019 03:50:43 PM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2/src/wp-includes/class-wp-query.php
r45286 r46479 539 539 'attachment_id', 540 540 'name', 541 'static',542 541 'pagename', 543 542 'page_id', … … 803 802 // post is being queried. 804 803 $this->is_single = true; 805 } elseif ( '' != $qv[' static'] || '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) {804 } elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { 806 805 $this->is_page = true; 807 806 $this->is_single = false; -
branches/5.2/src/wp-includes/class-wp.php
r44048 r46479 15 15 * @var string[] 16 16 */ 17 public $public_query_vars = array( 'm', 'p', 'posts', 'w', 'cat', 'withcomments', 'withoutcomments', 's', 'search', 'exact', 'sentence', 'calendar', 'page', 'paged', 'more', 'tb', 'pb', 'author', 'order', 'orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', ' static', 'pagename', 'page_id', 'error', 'attachment', 'attachment_id', 'subpost', 'subpost_id', 'preview', 'robots', 'taxonomy', 'term', 'cpage', 'post_type', 'embed' );17 public $public_query_vars = array( 'm', 'p', 'posts', 'w', 'cat', 'withcomments', 'withoutcomments', 's', 'search', 'exact', 'sentence', 'calendar', 'page', 'paged', 'more', 'tb', 'pb', 'author', 'order', 'orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', 'pagename', 'page_id', 'error', 'attachment', 'attachment_id', 'subpost', 'subpost_id', 'preview', 'robots', 'taxonomy', 'term', 'cpage', 'post_type', 'embed' ); 18 18 19 19 /** -
branches/5.2/tests/phpunit/tests/query/vars.php
r43571 r46479 52 52 'feed', 53 53 'author_name', 54 'static',55 54 'pagename', 56 55 'page_id',
Note: See TracChangeset
for help on using the changeset viewer.