@@ 313-317 (lines=5) @@ | ||
310 | $this->query_where .= $wpdb->prepare( ' AND user_login = %s', $qv['login'] ); |
|
311 | } |
|
312 | ||
313 | if ( ! empty( $qv['login__in'] ) ) { |
|
314 | $sanitized_login__in = array_map( 'esc_sql', $qv['login__in'] ); |
|
315 | $login__in = implode( "','", $sanitized_login__in ); |
|
316 | $this->query_where .= " AND user_login IN ( '$login__in' )"; |
|
317 | } |
|
318 | ||
319 | if ( ! empty( $qv['login__not_in'] ) ) { |
|
320 | $sanitized_login__not_in = array_map( 'esc_sql', $qv['login__not_in'] ); |
|
@@ 765-769 (lines=5) @@ | ||
762 | $include = wp_parse_id_list( $this->query_vars['include'] ); |
|
763 | $include_sql = implode( ',', $include ); |
|
764 | $_orderby = "FIELD( $wpdb->users.ID, $include_sql )"; |
|
765 | } elseif ( 'nicename__in' === $orderby ) { |
|
766 | $sanitized_nicename__in = array_map( 'esc_sql', $this->query_vars['nicename__in'] ); |
|
767 | $nicename__in = implode( "','", $sanitized_nicename__in ); |
|
768 | $_orderby = "FIELD( user_nicename, '$nicename__in' )"; |
|
769 | } elseif ( 'login__in' === $orderby ) { |
|
770 | $sanitized_login__in = array_map( 'esc_sql', $this->query_vars['login__in'] ); |
|
771 | $login__in = implode( "','", $sanitized_login__in ); |
|
772 | $_orderby = "FIELD( user_login, '$login__in' )"; |