Changeset 1314

Show
Ignore:
Timestamp:
05/26/08 15:28:39 (5 months ago)
Author:
donncha
Message:

Oops, need the correct site name here

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-login.php

    r1313 r1314  
    112112 
    113113function reset_password($key) { 
    114         global $wpdb
     114        global $wpdb, $current_site
    115115 
    116116        $key = preg_replace('/[^a-z0-9]/i', '', $key); 
     
    132132        $message .= get_option('siteurl') . "/wp-login.php\r\n"; 
    133133 
    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) ) 
    135135                die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') . '</p>'); 
    136136