[wp-trac] [WordPress Trac] #45746: get_password_reset_key should use wp_update_user
WordPress Trac
noreply at wordpress.org
Sun Dec 23 03:53:00 UTC 2018
#45746: get_password_reset_key should use wp_update_user
--------------------------+----------------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4
Severity: normal | Keywords: good-first-bug needs-patch
Focuses: |
--------------------------+----------------------------------------
In the function, `get_password_reset_key`, the user record is updated,
however this function call doesn't use `wp_update_user`
(`wp_insert_user`), none of the actions or filters are run. Worse yet, the
`clean_user_cache` function and actions are not called.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45746>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list