From 4ae4883372b83c735e398f74dbdeb6494cfc838d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 16 Dec 2015 19:19:26 +0000 Subject: [PATCH] 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 --- src/wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 656f710657..5f061e0868 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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 );