From 6de5a9f8e3b2d8592cdd916fe635935028ce3b1f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 6 Feb 2017 04:16:42 +0000 Subject: [PATCH] Docs: Add a note to `retrieve_password_message` filter that password reset email will not be sent if the filtered message is empty. Props sudar. Fixes #39788. Built from https://develop.svn.wordpress.org/trunk@40048 git-svn-id: http://core.svn.wordpress.org/trunk@39985 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 764cd15be2..b86b23813e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40047'; +$wp_version = '4.8-alpha-40048'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 91da512264..03422b3d71 100644 --- a/wp-login.php +++ b/wp-login.php @@ -358,6 +358,8 @@ function retrieve_password() { /** * Filters the message body of the password reset mail. + * + * If the filtered message is empty, the password reset email will not be sent. * * @since 2.8.0 * @since 4.1.0 Added `$user_login` and `$user_data` parameters.