Changeset 15672
- Timestamp:
- 09/27/2010 11:48:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15652 r15672 998 998 999 999 /** 1000 * Set if query is paged 1001 * 1002 * @since 1.5.0 1003 * @access public 1004 * @var bool 1005 */ 1006 var $is_paged = false; 1007 1008 /** 1000 1009 * Set if query is part of administration page. 1001 1010 * … … 1054 1063 function init_query_flags() { 1055 1064 $this->is_single = false; 1065 $this->is_preview = false; 1056 1066 $this->is_page = false; 1057 1067 $this->is_archive = false; … … 1071 1081 $this->is_home = false; 1072 1082 $this->is_404 = false; 1083 $this->is_comments_popup = false; 1073 1084 $this->is_paged = false; 1074 1085 $this->is_admin = false; … … 1089 1100 unset($this->query); 1090 1101 $this->query_vars = array(); 1102 $this->tax_query = array(); 1103 $this->meta_query = array(); 1091 1104 unset($this->queried_object); 1092 1105 unset($this->queried_object_id); … … 1094 1107 $this->current_post = -1; 1095 1108 $this->in_the_loop = false; 1109 unset( $this->request ); 1110 unset( $this->post ); 1111 unset( $this->comments ); 1112 unset( $this->comment ); 1113 $this->comment_count = 0; 1114 $this->current_comment = -1; 1115 $this->found_posts = 0; 1116 $this->max_num_pages = 0; 1117 $this->max_num_comment_pages = 0; 1096 1118 1097 1119 $this->init_query_flags();
Note: See TracChangeset
for help on using the changeset viewer.