Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#39320 closed enhancement (fixed)

Add filter hook to username_exists function

Reported by: shamim51's profile shamim51 Owned by: johnbillion's profile johnbillion
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: has-patch
Focuses: Cc:


Add filter hook to username_exists function to allow plugins to change its return value. Sometimes it is needed to reserve some username, this filter will allow to reserve username during registration.

Attachments (1)

39320.patch (697 bytes) - added by shamim51 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @johnbillion
8 years ago

  • Keywords needs-patch good-first-bug needs-docs added

8 years ago

#2 @shamim51
8 years ago

  • Keywords has-patch added; needs-patch needs-docs removed

#3 @DrewAPicture
7 years ago

  • Owner set to shamim51
  • Status changed from new to assigned

Assigning ownership to mark the good-first-bug as "claimed".

#4 @johnbillion
7 years ago

  • Keywords good-first-bug removed
  • Milestone changed from Awaiting Review to 4.9
  • Owner changed from shamim51 to johnbillion
  • Status changed from assigned to reviewing

#5 @johnbillion
7 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 41158:

Login and Registration: Introduce a username_exists filter, which allows for control over registration of usernames.

Props shamim51

Fixes #39320

Note: See TracTickets for help on using tickets.