diff --git a/src/wp-includes/user-functions.php b/src/wp-includes/user-functions.php index 225a0bc128..002d11a47a 100644 --- a/src/wp-includes/user-functions.php +++ b/src/wp-includes/user-functions.php @@ -924,13 +924,14 @@ function wp_dropdown_users( $args = '' ) { $query_args['fields'] = array( 'ID', 'user_login', $show ); /** - * Filter the arguments for user drop-down arguments before being passed into the query. + * Filter the query arguments for the user drop-down. * * @since 4.4.0 * - * @param array $query_args The default arguments for wp_dropdown_users(). + * @param array $query_args The query arguments for wp_dropdown_users(). + * @param array $r The default arguments for wp_dropdown_users(). */ - $query_args = apply_filters( 'wp_dropdown_users_args', $query_args ); + $query_args = apply_filters( 'wp_dropdown_users_args', $query_args, $r ); $users = get_users( $query_args );