Changeset 16018 for trunk/wp-includes/comment.php
- Timestamp:
- 10/27/2010 06:16:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r15843 r16018 193 193 } 194 194 195 /** 196 * WordPress Comment Query class. 197 * 198 * @since 3.1.0 199 */ 195 200 class WP_Comment_Query extends WP_Object_Query { 196 201 197 function query( $args ) { 202 /** 203 * Execute the query 204 * 205 * @since 3.1.0 206 * 207 * @param string|array $query_vars 208 * @return int|array 209 */ 210 function query( $query_vars ) { 198 211 global $wpdb; 199 212 … … 216 229 ); 217 230 218 $args = wp_parse_args( $args, $defaults ); 219 extract( $args, EXTR_SKIP ); 231 $this->query_vars = wp_parse_args( $query_vars, $defaults ); 232 233 extract( $this->query_vars, EXTR_SKIP ); 220 234 221 235 // $args can be whatever, only use the args defined in defaults to compute the key
Note: See TracChangeset
for help on using the changeset viewer.