[wp-trac] [WordPress Trac] #58311: Validate Username for not to be a email and strip everything after @

WordPress Trac noreply at wordpress.org
Sun May 14 18:09:52 UTC 2023


#58311: Validate Username for not to be a email and strip everything after @
------------------------------------+-----------------------------
 Reporter:  oglekler                |      Owner:  (none)
     Type:  enhancement             |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:
 Severity:  normal                  |   Keywords:
  Focuses:                          |
------------------------------------+-----------------------------
 Right now it is possible to register user and place full email as Username
 and username is not supposed to be changed after. When site administrator
 is adding someone manually, it can be done easily as a mistake and
 reviling author's email for everyone to see and can be picked up from
 authors archive as well. Display name can be changed after, but it needs
 to be done manually, by default Username, Nickname and the Display name
 are equal.

 If some people already have @ in their usernames (and I think I've seen
 that somewhere), the only thing which can be done about this is to filter
 the Display name before output and strip the @ and everything after.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58311>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list