[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
Mon Oct 16 18:29: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 needs-      |     Focuses:
  testing commit                                 |
-------------------------------------------------+-------------------------

Comment (by ironprogrammer):

 @brianhenryie, thank you for the e2e test (attachment:57394-create-
 username.test.js.diff) 🙌🏻

 I think this would be good to include alongside this update, but now that
 [https://make.wordpress.org/core/2023/10/16/wordpress-core-is-now-using-
 playwright-for-all-browser-based-tests/ all Core tests have been migrated
 to Playwright], this could be refreshed as a follow-up ticket to possibly
 merge during RC.

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


More information about the wp-trac mailing list