[wp-trac] [WordPress Trac] #16833: Signup mechanism shortens usernames without warning

WordPress Trac noreply at wordpress.org
Thu Jun 26 14:31:24 UTC 2025


#16833: Signup mechanism shortens usernames without warning
-------------------------------------------------+-------------------------
 Reporter:  hughcharlesparker                    |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-ux-feedback has-patch dev-       |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by callumbw95):

 Hi All,
 I have taken a look at this, and this still looks to be an issue on the
 sign up form. In the back office there is a max length applied to the
 username field. However this is not present on the registration form, so
 it is still possible to enter a username that is too long, which results
 in a truncated username. I believe that it would be best to get a
 notification in place for when the user's input hits that limit, but
 seeing as this issue has been around for a good few years now, just adding
 in the `maxlength="60"` attribute to the field is probably enough for now?
 In regards to a notification, I wonder if having text below the field
 saying something along the lines of "max 60 characters" would be enough? I
 wonder if we should hide/show it when they hit that limit, or get close to
 that limit?

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


More information about the wp-trac mailing list