Changes between Initial Version and Version 12 of Ticket #57967
- Timestamp:
- 03/22/2023 12:11:37 AM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57967
-
Property
Status
changed from
new
toaccepted
-
Property
Component
changed from
General
toUsers
-
Property
Summary
changed from
Username check introduced in WP 6.2 should allow updates to the same user
toRegression: Username check introduced in WP 6.2 should allow updates to the same user
- Property Owner set to audrasjb
-
Property
Milestone
changed from
Awaiting Review
to6.2
- Property Keywords has-unit-tests needs-testing added
-
Property
Status
changed from
-
Ticket #57967 – Description
initial v12 1 If you create a user with the username set as the email address, when you use `wp_update_user` to update the user's data, in WP 6.2 RC3 it will throw a 'existing_user_email_as_login' error due to the code introduced to fix https://core.trac.wordpress.org/ticket/57394.1 If you create a user with the username set as the email address, when you use `wp_update_user` to update the user's data, in WP 6.2 RC3 it will throw a `'existing_user_email_as_login'` error due to the code introduced to fix #57394 / [55358] and [55360]. 2 2 3 3 The code does not account for update calls to `wp_insert_user`, and if the function is called as part of an update it should check that the user being updated is different to the user found by the email search.