From 284b726bfb1a251d24ec731adbc0334c9be167ca Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 22:08:24 +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. Built from https://develop.svn.wordpress.org/trunk@33243 git-svn-id: http://core.svn.wordpress.org/trunk@33215 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/user.php | 11 ++++++----- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index e3605f7cb9..abdb6dc7a5 100644 --- a/wp-includes/user.php +++ b/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. * */ diff --git a/wp-includes/version.php b/wp-includes/version.php index fb4d1337ec..806ce6917d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33242'; +$wp_version = '4.3-beta2-33243'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.