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
This commit is contained in:
Drew Jaynes 2015-07-13 22:07:19 +00:00
parent 8f5107f7dc
commit 9a0034bb78
1 changed files with 6 additions and 5 deletions

View File

@ -2156,7 +2156,7 @@ function wp_update_user($userdata) {
$userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); $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 * @since 4.3.0
* *
@ -2172,13 +2172,14 @@ function wp_update_user($userdata) {
if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) { 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 * @since 4.3.0
* @see wp_insert_user() For $user and $userdata fields.
* *
* @param bool Return false to not send the email. * @see wp_insert_user() For `$user` and `$userdata` fields.
* @param array $user The original user array. *
* @param bool $send Whether to send the email.
* @param array $user The original user array.
* @param array $userdata The updated user array. * @param array $userdata The updated user array.
* *
*/ */