[wp-trac] [WordPress Trac] #22114: Propagating password on change
WordPress Trac
noreply at wordpress.org
Fri Sep 5 18:04:36 UTC 2025
#22114: Propagating password on change
-------------------------------------------------+-------------------------
Reporter: ChloeD | Owner:
| davidbaumwald
Type: feature request | Status: reopened
Priority: normal | Milestone: 6.9
Component: Users | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- | Focuses:
opinion |
-------------------------------------------------+-------------------------
Comment (by davidbaumwald):
In [changeset:"60712" 60712]:
{{{
#!CommitTicketReference repository="" revision="60712"
Users: Pass `WP_User` object to `wp_set_password` action in during new
user creation.
After [60634], `wp_set_password` is now fired during new user creation and
existing user updates when a password is changed. `wp_set_password`
expects the third argument to be a `WP_User` object of the user's data
prior to the update. This change simply passes the newly created
`WP_User` object.
Follow-up to [60634].
Props dd32.
See #22114.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22114#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list