mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Passwords: Restore second parameter for wp_new_user_notification().
After [33023] users would always be notified, this restores previous behavior. Props markjaquith, ocean90. Fixes #33358. git-svn-id: https://develop.svn.wordpress.org/trunk@33620 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2619,7 +2619,7 @@ function register_new_user( $user_login, $user_email ) {
|
||||
|
||||
update_user_option( $user_id, 'default_password_nag', true, true ); //Set up the Password change nag.
|
||||
|
||||
wp_new_user_notification( $user_id );
|
||||
wp_new_user_notification( $user_id, 'both' );
|
||||
|
||||
return $user_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user