Changeset 17436 for branches/3.1/wp-includes/user.php
- Timestamp:
- 02/09/2011 05:36:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/user.php
r17361 r17436 543 543 function query() { 544 544 global $wpdb; 545 545 546 546 if ( is_array( $this->query_vars['fields'] ) || 'all' == $this->query_vars['fields'] ) { 547 547 $this->results = $wpdb->get_results("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit"); … … 549 549 $this->results = $wpdb->get_col("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit"); 550 550 } 551 551 552 552 if ( $this->query_vars['count_total'] ) 553 553 $this->total_users = $wpdb->get_var("SELECT COUNT(*) $this->query_from $this->query_where");
Note: See TracChangeset
for help on using the changeset viewer.