[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
Thu Jun 29 03:33:19 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.3
Component:  Login and Registration               |     Version:  6.1.1
 Severity:  normal                               |  Resolution:
 Keywords:  revert has-patch changes-requested   |     Focuses:
  needs-testing has-unit-tests                   |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 https://github.com/WordPress/wordpress-develop/pull/4749 includes a new
 fix for this: the additional check is only applied when a new user is
 being created - and not for user updates.

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


More information about the wp-trac mailing list