[wp-trac] [WordPress Trac] #53627: Return earlier from wp_update_user() in case of error
WordPress Trac
noreply at wordpress.org
Sat Jul 10 12:00:18 UTC 2021
#53627: Return earlier from wp_update_user() in case of error
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Users | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"51398" 51398]:
{{{
#!CommitTicketReference repository="" revision="51398"
Users: Return earlier from `wp_update_user()` in case of error.
This ensures that if the `wp_insert_user()` call resulted in a `WP_Error`
object, it is returned right away without any further actions.
Follow-up to [32820].
Fixes #53627.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53627#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list