WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2010 05:02:37 PM (10 years ago)
Author:
scribu
Message:

Make get_meta_sql() return associative array. See #15032

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r16050 r16053  
    469469
    470470        if ( !empty( $qv['meta_query'] ) ) {
    471             list( $meta_join, $meta_where ) = $this->get_meta_sql( $qv['meta_query'], $wpdb->users, 'ID', $wpdb->usermeta, 'user_id' );
    472             $this->query_from .= $meta_join;
    473             $this->query_where .= $meta_where;
     471            $clauses = $this->get_meta_sql( $qv['meta_query'], $wpdb->users, 'ID', $wpdb->usermeta, 'user_id' );
     472            $this->query_from .= $clauses['join'];
     473            $this->query_where .= $clauses['where'];
    474474        }
    475475
Note: See TracChangeset for help on using the changeset viewer.