Correct a parameter name for the allow_password_reset filter so its entry on developer.wordpress.org displays correctly.

See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@35969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2015-12-16 19:19:26 +00:00
parent 7a5128c4b0
commit 4ae4883372

View File

@ -1963,7 +1963,7 @@ function get_password_reset_key( $user ) {
*
* @since 2.7.0
*
* @param bool true Whether to allow the password to be reset. Default true.
* @param bool $allow Whether to allow the password to be reset. Default true.
* @param int $user_data->ID The ID of the user attempting to reset a password.
*/
$allow = apply_filters( 'allow_password_reset', true, $user->ID );