From ce8944600a32e012c7cc00818190ca56d3aca955 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 22:14:45 +0000 Subject: [PATCH] Fix the inline documentation syntax in the hook docs for the `email_change_email` filter, introduced in 4.3. Also update the filter summary to reflect that the file is for an "email" change, not a "password" change. See [32820]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33245 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 76f5df4d33..bea8462abf 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -2275,21 +2275,21 @@ All at ###SITENAME### ); /** - * Filter the email sent when the user's password is changed. + * Filter the contents of the email sent when the user's email is changed. * * @since 4.3.0 * * @param array $email_change_email { - * Used to build wp_mail(). https://developer.wordpress.org/reference/functions/wp_mail/ + * Used to build wp_mail(). * @type string $to The intended recipients. * @type string $subject The subject of the email. * @type string $message The content of the email. * The following strings have a special meaning and will get replaced dynamically: - * ###USERNAME### The current user's username. - * ###ADMIN_EMAIL### The admin email in case this was unexpected. - * ###EMAIL### The old email. - * ###SITENAME### The name of the site. - * ###SITEURL### The URL to the site. + * - ###USERNAME### The current user's username. + * - ###ADMIN_EMAIL### The admin email in case this was unexpected. + * - ###EMAIL### The old email. + * - ###SITENAME### The name of the site. + * - ###SITEURL### The URL to the site. * @type string $headers Headers. * } * @param array $user The original user array.