Make WordPress Core


Ignore:
Timestamp:
02/09/2011 05:36:23 PM (14 years ago)
Author:
ryan
Message:

Pink the whites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/user.php

    r17361 r17436  
    543543    function query() {
    544544        global $wpdb;
    545        
     545
    546546        if ( is_array( $this->query_vars['fields'] ) || 'all' == $this->query_vars['fields'] ) {
    547547            $this->results = $wpdb->get_results("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit");
     
    549549            $this->results = $wpdb->get_col("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit");
    550550        }
    551        
     551
    552552        if ( $this->query_vars['count_total'] )
    553553            $this->total_users = $wpdb->get_var("SELECT COUNT(*) $this->query_from $this->query_where");
Note: See TracChangeset for help on using the changeset viewer.