From 9a0034bb787643188fc6045eac973b36006c991b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 22:07:19 +0000 Subject: [PATCH] Fix the inline documentation syntax in the hook docs for the `send_email_change_email` filter, added in 4.3. See [32820]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33243 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index e3605f7cb9..abdb6dc7a5 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -2156,7 +2156,7 @@ function wp_update_user($userdata) { $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); /** - * Filter whether to stop the sending of the password change email. + * Filter whether send the password change email. * * @since 4.3.0 * @@ -2172,13 +2172,14 @@ function wp_update_user($userdata) { if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) { /** - * Filter to stop the sending of the email change email. + * Filter whether to send the email 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. * */