Make WordPress Core

Changes between Initial Version and Version 12 of Ticket #57967


Ignore:
Timestamp:
03/22/2023 12:11:37 AM (21 months ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57967

    • Property Status changed from new to accepted
    • Property Component changed from General to Users
    • Property Summary changed from Username check introduced in WP 6.2 should allow updates to the same user to Regression: 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 to 6.2
    • Property Keywords has-unit-tests needs-testing added
  • 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.
     1If 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].
    22
    33The 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.