[wp-trac] [WordPress Trac] #57436: Add hook to wp_set_password

WordPress Trac noreply at wordpress.org
Thu Jan 12 09:03:44 UTC 2023


#57436: Add hook to wp_set_password
-------------------------------------------------+-------------------------
 Reporter:  tanner m                             |       Owner:  audrasjb
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note add-to-     |     Focuses:
  field-guide commit                             |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55056" 55056]:
 {{{
 #!CommitTicketReference repository="" revision="55056"
 Users: Add an action hook on `wp_set_password()`.

 This changeset introduces the `wp_set_password` action hook, triggered
 after a password is set for a given user. As several plugins are calling
 `wp_set_password()` directly, adding an action to the end of the function
 will help plugin authors to catch all instances of password setting.

 Props tanner-m, audrasjb.
 Fixes #57436.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57436#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list