Ticket #34252: 34252.patch
File 34252.patch, 763 bytes (added by , 9 years ago) |
---|
-
src/wp-login.php
341 341 * Filter the subject of the password reset email. 342 342 * 343 343 * @since 2.8.0 344 * @since 4.4 Added `$user_login` and `$user_data` parameters. 344 345 * 345 * @param string $title Default email title. 346 * @param string $title Default email title. 347 * @param string $user_login The username for the user. 348 * @param WP_User $user_data WP_User object. 346 349 */ 347 $title = apply_filters( 'retrieve_password_title', $title );350 $title = apply_filters( 'retrieve_password_title', $title, $user_login, $user_data ); 348 351 349 352 /** 350 353 * Filter the message body of the password reset mail.