[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 08:01:02 UTC 2023


#57394: wp_insert_user allows the new user to have a username equal to an already
registered email
----------------------------------------+------------------------------
 Reporter:  buutqn                      |       Owner:  adamsilverstein
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.2
Component:  Login and Registration      |     Version:  6.1.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------
Changes (by ajayver):

 * Attachment "patch-with-unit-test.diff" added.

 This patch includes both the fix and unit tests and the code standards
 fix.

-- 
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