mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ function reset_password($key, $login) {
|
||||
do_action('password_reset', $user, $new_pass);
|
||||
|
||||
wp_set_password($new_pass, $user->ID);
|
||||
update_user_option($user_ID, 'default_password_nag', true, true); //Set up the Password change nag.
|
||||
update_user_option($user->ID, 'default_password_nag', true, true); //Set up the Password change nag.
|
||||
$message = sprintf(__('Username: %s'), $user->user_login) . "\r\n";
|
||||
$message .= sprintf(__('Password: %s'), $new_pass) . "\r\n";
|
||||
$message .= site_url('wp-login.php', 'login') . "\r\n";
|
||||
|
||||
Reference in New Issue
Block a user