} $this->meta_query->
parse_query_vars( $this->meta_query->queries
);
} if ( !
empty( $this->meta_query->queries
) ) { $clauses =
$this->meta_query->
get_sql( 'user',
$wpdb->users, 'ID',
$this );
$this->query_from .=
$clauses['join'
];
$this->query_where .=
$clauses['where'
];
if ( $this->meta_query->
has_or_relation() ) { $this->query_fields = 'DISTINCT ' .
$this->query_fields;
} } // Sorting.
$qv['order'
] =
isset( $qv['order'
] ) ?
strtoupper( $qv['order'
] ) : '';
$order =
$this->
parse_order( $qv['order'
] );
if ( empty( $qv['orderby'
] ) ) { // Default order is by 'user_login'.
$ordersby = array
( 'user_login' =>
$order );
}