WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#49639 new enhancement

Add a filter on wp_insert_user function regarding $user_pass

Reported by: stokim Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4
Component: Users Keywords:
Focuses: Cc:

Description

/5.3/src/wp-includes/user.php
function wp_insert_user ( $userdata ) 1542 line
Please apply the below filter so that I can add a rule on user typed password before hashing the password.
$pre_user_password = apply_filters( 'pre_user_password', $user_pass );
Thank you.

Best regards,
Jen

Change History (1)

#1 @SergeyBiryukov
5 months ago

  • Component changed from Formatting to Users
Note: See TracTickets for help on using tickets.