Don't assault Matt with password reset email.
git-svn-id: https://develop.svn.wordpress.org/trunk@6663 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f55f4fbee1
commit
9735fb0f03
@ -121,7 +121,7 @@ function reset_password($key) {
|
||||
// but check to see if it's the admin whose password we're changing, and skip this
|
||||
if ( $user->user_email != get_option('admin_email') ) {
|
||||
$message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n";
|
||||
wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message);
|
||||
//wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user