Changeset 1314
- Timestamp:
- 05/26/08 15:28:39 (5 months ago)
- Files:
-
- trunk/wp-login.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-login.php
r1313 r1314 112 112 113 113 function reset_password($key) { 114 global $wpdb ;114 global $wpdb, $current_site; 115 115 116 116 $key = preg_replace('/[^a-z0-9]/i', '', $key); … … 132 132 $message .= get_option('siteurl') . "/wp-login.php\r\n"; 133 133 134 if ( !wp_mail($user->user_email, sprintf(__('[%s] Your new password'), 'WordPress.com'), $message) )134 if ( !wp_mail($user->user_email, sprintf(__('[%s] Your new password'), $current_site->site_name), $message) ) 135 135 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') . '</p>'); 136 136
