WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 4 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:

Description

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 5 years ago.
Fixed in this patch.

Download all attachments as: .zip

Change History (4)

@1naveengiri
5 years ago

Fixed in this patch.

#2 @1naveengiri
5 years ago

@SergeyBiryukov is it needed or not. can you update if not then why?

Version 0, edited 5 years ago by 1naveengiri (next)

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


4 months ago

Note: See TracTickets for help on using tickets.