Make WordPress Core

Opened 4 years ago

Last modified 12 months ago

#40046 new enhancement

Add password length filter in `register_new_user` function.

Reported by: 1naveengiri Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.2
Component: Users Keywords:
Focuses: administration Cc:


I found there is no way to change password length param of wp_generate_password function.
I found there is no filter to extend the password length.

there should be one filter so that if anyone want to extend password length during user registration they could.

ref: wp-includes/user.php
line number : 2343
Function name: register_new_user()

Attachments (1)

pass_length.patch (893 bytes) - added by 1naveengiri 4 years ago.
Fixed in this patch.

Download all attachments as: .zip

Change History (3)

4 years ago

Fixed in this patch.

#2 @1naveengiri
4 years ago

@SergeyBiryukov Thanks for checking it.

Last edited 12 months ago by 1naveengiri (previous) (diff)
Note: See TracTickets for help on using tickets.