[wp-trac] [WordPress Trac] #59156: sanitize_email method should lowercase the given email

WordPress Trac noreply at wordpress.org
Mon Aug 21 14:50:13 UTC 2023


#59156: sanitize_email method should lowercase the given email
-------------------------------+------------------------------
 Reporter:  achchu93           |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  6.3
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by rajinsharwar):

 * keywords:   => reporter-feedback


Comment:

 Hi @achchu93, welcome to WordPress Trac, and thanks for your ticket.

 Can you please explain the necessity of this feature? Because currently,
 all the emails are always treated in lowercase. So, for example, you have
 a user with the email "rajin at gmail.com". After that, when you try to
 create another user with "RAJIN at gmail.com", it will show the error that
 you are trying to use an already used email.

 Also, if you try to log in with "RAJIN at gmail.com", you will be able to log
 in to the account. So, I am not quite sure what's the necessity of this
 proposed function. Feel free to add your thoughts here.

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


More information about the wp-trac mailing list