Changeset 46474
- Timestamp:
- 10/14/2019 03:18:49 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r46391 r46474 539 539 'attachment_id', 540 540 'name', 541 'static',542 541 'pagename', 543 542 'page_id', … … 806 805 // post is being queried. 807 806 $this->is_single = true; 808 } elseif ( '' != $qv[' static'] || '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) {807 } elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { 809 808 $this->is_page = true; 810 809 $this->is_single = false; -
trunk/src/wp-includes/class-wp.php
r45739 r46474 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 /** -
trunk/tests/phpunit/tests/query/vars.php
r43571 r46474 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.