Changes between Initial Version and Version 12 of Ticket #57967
- Timestamp:
- 03/22/2023 12:11:37 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57967
- Property Component General → Users
- Property Keywords has-unit-tests needs-testing added
- Property Milestone Awaiting Review → 6.2
- Property Owner set to
- Property Status new → accepted
- Property Summary Username check introduced in WP 6.2 should allow updates to the same user → Regression: Username check introduced in WP 6.2 should allow updates to the same user
-
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)