[wp-trac] [WordPress Trac] #44690: Username should not accept space

WordPress Trac noreply at wordpress.org
Sat Feb 27 16:17:02 UTC 2021


#44690: Username should not accept space
------------------------------+------------------------------
 Reporter:  subrataemfluence  |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:
------------------------------+------------------------------

Comment (by vegasgeek):

 When adding a username that contains a trailing space (it was an
 accident), the error message reads:

 **Error: This username is invalid because it uses illegal characters.
 Please enter a valid username.**

 Since the username field accepts a space in the middle of the username,
 but not as a leading or trailing character, this is misleading and can
 cause confusion.

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


More information about the wp-trac mailing list