Make WordPress Core

Opened 6 years ago

Last modified 2 years ago

#40046 new enhancement

Add password length filter in `register_new_user` function.

Reported by: 1naveengiri's profile 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 6 years ago.
Fixed in this patch.

Download all attachments as: .zip

Change History (4)

6 years ago

Fixed in this patch.

#2 @1naveengiri
6 years ago

@SergeyBiryukov Thanks for checking it.

Last edited 4 years ago by 1naveengiri (previous) (diff)

This ticket was mentioned in Slack in #core-test by desrosj. View the logs.

2 years ago

Note: See TracTickets for help on using tickets.