Make WordPress Core


Ignore:
Timestamp:
11/11/2010 10:06:05 AM (14 years ago)
Author:
scribu
Message:

Add context to get_meta_sql(). See #15018

File:
1 edited

Legend:

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

    r16266 r16286  
    482482
    483483        if ( !empty( $qv['meta_query'] ) ) {
    484             $clauses = get_meta_sql( $qv['meta_query'], 'user', $wpdb->users, 'ID' );
     484            $clauses = call_user_func_array( 'get_meta_sql', array( $qv['meta_query'], 'user', $wpdb->users, 'ID', &$this ) );
    485485            $this->query_from .= $clauses['join'];
    486486            $this->query_where .= $clauses['where'];
Note: See TracChangeset for help on using the changeset viewer.