From 8900e2466e3a01c9c228ac31784aa70e8dcf3137 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 6 Feb 2017 04:15:22 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@40048 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-login.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-login.php b/src/wp-login.php index 91da512264..03422b3d71 100644 --- a/src/wp-login.php +++ b/src/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.