[wp-trac] [WordPress Trac] #30959: race condition in wp_insert_user()

WordPress Trac noreply at wordpress.org
Fri Feb 3 07:39:43 UTC 2023


#30959: race condition in wp_insert_user()
--------------------------+---------------------
 Reporter:  hanelyp       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:
Component:  Users         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by simonbuerger):

 @iandunn that UNIQUE constraint being discussed is on user_email though,
 which I understand would break existing installs relying on non-unique
 emails - but I assume they still have unique user logins. So can there not
 be a constraint just on user_login?

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


More information about the wp-trac mailing list