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

WordPress Trac noreply at wordpress.org
Sat Jan 17 21:14:28 UTC 2026


#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 shooper):

 Stumbled on this old ticket that apparently is mine! :)

 I've updated the patch (using a PR this time) to work with the updated
 trunk.  The key change was using the `rest_get_server()->dispatch(
 $request );` instead of `$this->server->dispatch( $request );`.

 Now, how do we go about deciding whether 409 is still the right solution
 here and getting this moved forward?

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


More information about the wp-trac mailing list