[wp-trac] [WordPress Trac] #49639: Add a filter on wp_insert_user function regarding $user_pass
WordPress Trac
noreply at wordpress.org
Wed May 12 09:39:05 UTC 2021
#49639: Add a filter on wp_insert_user function regarding $user_pass
-------------------------------------------------+-------------------------
Reporter: stokim | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion needs- | Focuses:
patch |
-------------------------------------------------+-------------------------
Description changed by SergeyBiryukov:
Old 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
New 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
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49639#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list