Ticket #14976: 14976.diff
File 14976.diff, 1.5 KB (added by , 14 years ago) |
---|
-
wp-includes/query.php
997 997 var $is_comments_popup = false; 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 * 1002 1011 * @since 1.5.0 … … 1053 1062 */ 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; 1058 1068 $this->is_date = false; … … 1070 1080 $this->is_trackback = 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; 1075 1086 $this->is_attachment = false; … … 1088 1099 unset($this->posts); 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); 1093 1106 $this->post_count = 0; 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(); 1098 1120 }