WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#39320 closed enhancement (fixed)

Add filter hook to username_exists function

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

Description

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 5 years ago.

Download all attachments as: .zip

Change History (6)

#1 @johnbillion
5 years ago

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

@shamim51
5 years ago

#2 @shamim51
5 years ago

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

#3 @DrewAPicture
4 years ago

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

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

#4 @johnbillion
4 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
4 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.