From 8f5107f7dcb982ee92776d2393152cfacac9e49b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 22:04:42 +0000 Subject: [PATCH] Fix the inline documentation syntax in the hook docs for the `send_pass_change_email` filter, added in 4.3. See [32820]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33242 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index e0ddcf013d..e3605f7cb9 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -2154,14 +2154,16 @@ function wp_update_user($userdata) { // If password is changing, hash it now $plaintext_pass = $userdata['user_pass']; $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); + /** - * Filter to stop the sending of the password change email. + * Filter whether to stop the sending of the password change email. * * @since 4.3.0 - * @see wp_insert_user() For $user and $userdata fields. * - * @param bool Return false to not send the email. - * @param array $user The original user array. + * @see wp_insert_user() For `$user` and `$userdata` fields. + * + * @param bool $send Whether to send the email. + * @param array $user The original user array. * @param array $userdata The updated user array. * */