WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9564 closed feature request (duplicate)

When using emails as logins, emails and logins should be consistent.

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: General Keywords: has-patch tested
Focuses: Cc:

Description

It is currently possible to have a username that is an email. But when you change your email, the username remains the same.

Assuming #9563 makes it into 2.8 to enforce unique emails, WP should change the username automatically when the email address is changed.

Attachments (3)

9564.diff (1.2 KB) - added by Denis-de-Bernardy 5 years ago.
9564.2.diff (1.5 KB) - added by Denis-de-Bernardy 5 years ago.
replace patch
9564.3.diff (2.0 KB) - added by Denis-de-Bernardy 5 years ago.

Download all attachments as: .zip

Change History (9)

Denis-de-Bernardy5 years ago

comment:1 Denis-de-Bernardy5 years ago

  • Keywords has-patch tested added

This patch requires #9563 before committing, else it makes zero sense.

Denis-de-Bernardy5 years ago

replace patch

Denis-de-Bernardy5 years ago

comment:3 Denis-de-Bernardy5 years ago

third version of the patch additionally ensures that user stays logged in when he changes his email.

comment:4 Nicholas915 years ago

  • Cc dragos.nicholas@… added

I've tested 9564.2.diff after I've added the patch of ticket #9563, as Denis said in the second comment.

comment:6 Denis-de-Bernardy5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Closing this one as dup of #9568

Note: See TracTickets for help on using tickets.