Changeset 4902 for trunk/wp-login.php
- Timestamp:
- 02/21/2007 02:08:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r4656 r4902 195 195 } else { 196 196 // send a copy of password change notification to the admin 197 $message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n"; 198 wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message); 197 // but check to see if it's the admin whose password we're changing, and skip this 198 if ($user->user_email != get_settings('admin_email')) { 199 $message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n"; 200 wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message); 201 } 199 202 200 203 wp_redirect('wp-login.php?checkemail=newpass');
Note: See TracChangeset
for help on using the changeset viewer.