Make WordPress Core

Opened 13 months ago

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


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,

Change History (1)

#1 @SergeyBiryukov
13 months ago

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