Ticket #43680: 43680.2.diff
File 43680.2.diff, 750 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/class-wp-user-query.php
613 613 $this->total_users = (int) $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) ); 614 614 } 615 615 616 /** 617 * Filters the raw user / user fields results array. 618 * 619 * @since 5.0.0 620 * 621 * @param Array Array of users / user fields 622 * @param WP_User_Query $this The WP_User_Query instance (passed by reference). 623 */ 624 $this->results = apply_filters_ref_array( 'users_results', array( $this->results, &$this ) ); 625 616 626 if ( ! $this->results ) { 617 627 return; 618 628 }