[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 Aug 18 10:09:46 UTC 2023


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

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests


Comment:

 == Test Report
 This report validates that the indicated patch addresses the issue.

 **Patch tested:** https://core.trac.wordpress.org/ticket/57394

 == Environment
 **OS:** Windows 11
 **Web Server:** Nginx
 **PHP:** 8.1.9
 **WordPress:** 6.3
 **Browser:** Chrome 115.0.5790.171 (Official Build) (64-bit)
 **Theme:** Twenty Twenty-Three
 **Active Plugins:** - none

 == Actual Results
 ✅ Issue resolved with the patch (PR: 5032[https://github.com/WordPress
 /wordpress-develop/pull/5032]). No errors/warnings were triggered.

 == Attachments
 [[Image(https://img001.prntscr.com/file/img001/pR2juFYYQaq0D88DYgk0Cg.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57394#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list