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
This commit is contained in:
Drew Jaynes 2015-07-13 22:04:42 +00:00
parent 1094410e1a
commit 8f5107f7dc

View File

@ -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.
*
*/