Opened 6 years ago
Last modified 6 years ago
#41522 new defect (bug)
wp_set_password() doesn't trigger a changed password notification
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | dev-feedback has-patch |
Focuses: | Cc: |
Description
If wp_update_user()
is used to update a user's password, a notification is sent to the user telling them their password has changed.
However, the same doesn't happen if wp_set_password()
is used to update a user's password.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
If
wp_set_password()
was rewritten to use the API, specificallywp_update_user()
, then a notification would be sent. Thing is, it's a pluggable function. What's the policy on updating those things considering people could have their own implementation in a mu-plugins file?