Don't assault Matt with password reset email.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-25 20:52:15 +00:00
parent f3d0aaee55
commit b993fdde39
1 changed files with 1 additions and 1 deletions

View File

@ -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 // 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') ) { if ( $user->user_email != get_option('admin_email') ) {
$message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n"; $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; return true;