Users: Correct the documentation for the wp_dropdown_users_args filter description and its parameters.

See #37770


git-svn-id: https://develop.svn.wordpress.org/trunk@38406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-08-27 16:53:08 +00:00
parent 417de45c08
commit fccaf594c7

View File

@ -1042,12 +1042,12 @@ function wp_dropdown_users( $args = '' ) {
$option_none_value = $r['option_none_value'];
/**
* Filters the query arguments for the user drop-down.
* Filters the query arguments for the list of users in the dropdown.
*
* @since 4.4.0
*
* @param array $query_args The query arguments for wp_dropdown_users().
* @param array $r The default arguments for wp_dropdown_users().
* @param array $query_args The query arguments for get_users().
* @param array $r The arguments passed to wp_dropdown_users() combined with the defaults.
*/
$query_args = apply_filters( 'wp_dropdown_users_args', $query_args, $r );