Make WordPress Core

Opened 10 years ago

Last modified 10 years ago

#39985 new feature request

Do action before send email of retrieve password

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

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 10 years ago.
Code for add do_action before sending email to recover password
action-retrieve-password-fixed.patch​ (1.1 KB ) - added by anonymized_15299252 10 years ago.

Download all attachments as: .zip

Change History (4)

@bonus369
10 years ago

Code for add do_action before sending email to recover password

#1 follow-up: @anonymized_15299252
10 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
10 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.