Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#40046 new enhancement

Add password length filter in `register_new_user` function.

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

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

Download all attachments as: .zip

Change History (4)

@1naveengiri
9 years ago

Fixed in this patch.

#2 @1naveengiri
9 years ago

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

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

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


5 years ago

Note: See TracTickets for help on using tickets.