Set up the password nag for newly registered users. Fixes #12143
git-svn-id: https://develop.svn.wordpress.org/trunk@13490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
df84c657f9
commit
b411580268
@ -312,6 +312,8 @@ function register_new_user($user_login, $user_email) {
|
||||
return $errors;
|
||||
}
|
||||
|
||||
update_user_option($user_id, 'default_password_nag', true, true); //Set up the Password change nag.
|
||||
|
||||
wp_new_user_notification($user_id, $user_pass);
|
||||
|
||||
return $user_id;
|
||||
|
Loading…
Reference in New Issue
Block a user