[wp-trac] [WordPress Trac] #64261: Suggestion: Apply trim() to Username Field During Login

WordPress Trac noreply at wordpress.org
Mon Nov 17 19:33:24 UTC 2025


#64261: Suggestion: Apply trim() to Username Field During Login
------------------------------------+------------------------------
 Reporter:  dishmaria               |       Owner:  (none)
     Type:  defect (bug)            |      Status:  assigned
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  reporter-feedback       |     Focuses:
------------------------------------+------------------------------
Changes (by westonruter):

 * keywords:   => reporter-feedback


Comment:

 @dishmaria Thanks for reporting this. I just tried to reproduce this issue
 and I wasn't able. In a WordPress install with username "admin", I tried
 providing "    admin    ", and it it still logged me in. Do you see
 differently?

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


More information about the wp-trac mailing list