Ticket #25285: 25285.diff
File 25285.diff, 554 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/user.php
359 359 */ 360 360 function __construct( $query = null ) { 361 361 if ( !empty( $query ) ) { 362 /** 363 * Filter arguments passed to a new WP_User_Query 364 * 365 * @since 3.7.0 366 */ 367 $query = apply_filters( 'user_query_args', $query ); 362 368 $this->query_vars = wp_parse_args( $query, array( 363 369 'blog_id' => $GLOBALS['blog_id'], 364 370 'role' => '',