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
This commit is contained in:
parent
234f2040a8
commit
6de5a9f8e3
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -359,6 +359,8 @@ function retrieve_password() {
|
||||||
/**
|
/**
|
||||||
* Filters the message body of the password reset mail.
|
* 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 2.8.0
|
||||||
* @since 4.1.0 Added `$user_login` and `$user_data` parameters.
|
* @since 4.1.0 Added `$user_login` and `$user_data` parameters.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue