Set up the password nag for newly registered users. Fixes #12143
git-svn-id: http://svn.automattic.com/wordpress/trunk@13490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9472175b79
commit
ac9c531035
|
@ -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