Changeset 1733 for trunk/wp-login.php
- Timestamp:
- 10/04/2004 07:44:04 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r1732 r1733 149 149 $message .= get_settings('siteurl') . '/wp-login.php'; 150 150 151 $m = mail($user_email, sprintf(__("[%s] Your login and password"), get_settings('blogname')), $message);151 $m = wp_mail($user_email, sprintf(__("[%s] Your login and password"), get_settings('blogname')), $message); 152 152 153 153 if ($m == false) { … … 159 159 echo "<a href='wp-login.php' title='" . __('Check your e-mail first, of course') . "'>" . __('Click here to login!') . '</a></p>'; 160 160 // send a copy of password change notification to the admin 161 mail(get_settings('admin_email'), sprintf(__('[%s] Password Lost/Change'), get_settings('blogname')), sprintf(__('Password Lost and Changed for user: %s'), $user_login));161 wp_mail(get_settings('admin_email'), sprintf(__('[%s] Password Lost/Change'), get_settings('blogname')), sprintf(__('Password Lost and Changed for user: %s'), $user_login)); 162 162 die(); 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.