diff --git src/wp-login.php src/wp-login.php
index fd97572..aadcc2e 100644
|
|
function retrieve_password() { |
389 | 389 | * |
390 | 390 | * @since 2.8.0 |
391 | 391 | * |
392 | | * @param string $message Default mail message. |
393 | | * @param string $key The activation key. |
| 392 | * @param string $message Default mail message. |
| 393 | * @param string $key The activation key. |
| 394 | * @param string $user_login The username for the user. |
| 395 | * @param WP_User $user_data WP_User object. |
394 | 396 | */ |
395 | | $message = apply_filters( 'retrieve_password_message', $message, $key ); |
| 397 | $message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data ); |
396 | 398 | |
397 | 399 | if ( $message && !wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) ) |
398 | 400 | wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); |