[wp-trac] [WordPress Trac] #41672: REST create user: existing_user_login is returned before existing_user_email

WordPress Trac noreply at wordpress.org
Mon Sep 23 16:42:48 UTC 2024


#41672: REST create user: existing_user_login is returned before
existing_user_email
-------------------------------------------------+-------------------------
 Reporter:  bbrian                               |       Owner:  shooper
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug 2nd-opinion has-      |     Focuses:  rest-api
  patch has-unit-tests                           |
-------------------------------------------------+-------------------------

Comment (by sconzof):

 It is still useful to know when creating a user account whether an error
 is caused by a duplicate email address or duplicate username.

 And the HTTP 409 (Conflict) response code is more useful than the current
 HTTP 500 response code.

 What are the next steps to getting this change into a release? Is there
 something I can do to help? Looking for some guidance... Thanks!

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


More information about the wp-trac mailing list