[wp-trac] [WordPress Trac] #57394: wp_insert_user allows the new user to have a username equal to an already registered email
WordPress Trac
noreply at wordpress.org
Fri Feb 17 07:27:39 UTC 2023
#57394: wp_insert_user allows the new user to have a username equal to an already
registered email
----------------------------------------+------------------------------
Reporter: buutqn | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 6.1.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------------
Changes (by ajayver):
* Attachment "unit-test-57394.diff" added.
Created a unit test that attempts to create a new user with admin email as
a username.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57394>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list