[wp-trac] [WordPress Trac] #52976: user emails comparison should be case insensitive

WordPress Trac noreply at wordpress.org
Sun May 3 19:30:23 UTC 2026


#52976: user emails comparison should be case insensitive
-------------------------------------+-------------------------------------
 Reporter:  asaifm                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Users                    |     Version:  4.3
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  administration,
  patch has-screenshots has-unit-    |  coding-standards
  tests                              |
-------------------------------------+-------------------------------------

Comment (by yusufmudagal):

 Tested PR https://github.com/WordPress/wordpress-develop/pull/11697

 I created a user with `testcase at example.com`, set `user_activation_key` to
 `key`, and then updated the email to `TestCase at Example.COM`.

 Before the patch, the `send_email_change_email` flow fired for this case-
 only change and the activation key was cleared.
 After the patch, the notification flow does not fire and the activation
 key remains `key`.

 Patch tests well for the case-only email change scenario.

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


More information about the wp-trac mailing list