Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#39985 new feature request

Do action before send email of retrieve password

Reported by: bonus369's profile bonus369 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.2
Component: Login and Registration Keywords:
Focuses: Cc:

Description

Add do_action before sending email to recover password.

Inspiration: I needed to integrate an SMS sending to recover password, where I had to use retrieve_password_message filter hook to get the user's phone number.

https://github.com/WordPress/WordPress/pull/275

Attachments (2)

action-retrieve-password.patch (821 bytes) - added by bonus369 7 years ago.
Code for add do_action before sending email to recover password
action-retrieve-password-fixed.patch (1.1 KB) - added by swapgs 7 years ago.

Download all attachments as: .zip

Change History (4)

@bonus369
7 years ago

Code for add do_action before sending email to recover password

#1 follow-up: @swapgs
7 years ago

Aloha @bonus369! It seems that you did the diff the wrong way, since you are trying to remove the lines you intended to add. I generated the right one using Github and attached it to this ticket :-)

#2 in reply to: ↑ 1 @bonus369
7 years ago

Replying to swapgs:

Aloha @bonus369! It seems that you did the diff the wrong way, since you are trying to remove the lines you intended to add. I generated the right one using Github and attached it to this ticket :-)

True, @swapgs . Thank you.

Note: See TracTickets for help on using tickets.