Add `$user_login` and `$user_data` parameters to `retrieve_password_title` filter
|Reported by:||sudar||Owned by:||DrewAPicture|
|Component:||Login and Registration||Keywords:||has-patch|
The retrieve_password_title filter inside retrieve_password function in wp-login.php file allows you to change the email subject of the password reset emails.
Right now it only has tittle as parameter, where as the similar retrieve_password_message filter which is used to modify the email message has both user_login and user_data as parameters.
The patch that I have attached adds these extra parameters to the retrieve_password_title filter.
Usecase where these new parameter would be used: If a plugin/theme wants to change the subject of the password reset email and include user specific information in the title.