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

WordPress Trac noreply at wordpress.org
Sat Aug 19 12:56:33 UTC 2017


#41672: REST create user: existing_user_login is returned before
existing_user_email
------------------------------------------+------------------------------
 Reporter:  bbrian                        |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Users                         |     Version:  4.7
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => needs-patch needs-unit-tests
 * focuses:   => rest-api
 * component:  General => Users
 * version:  4.8.1 => 4.7


Comment:

 @bbrian Thanks for the ticket, and welcome to WordPress Trac :-)

 I think it makes sense to prioritise the existing email error over the
 existing username error so, like you said, users learn immediately that
 they already have a user account.

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


More information about the wp-trac mailing list