I'm just wondering why wordpress doesn't send confirmation mail every time user change his/her email address.
How do we know that email address is not fake or mistyped?
So can anyone give me some snippet to implement this function?
Update:
Here is the idea.
- user changes his/her mail
- We send confirmation email.
- If the user confirm that email in X days by clicking confirmation link, then the email should be changed. Else we should use existing email.