WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/15/2009 01:31:43 PM (12 years ago)
Author:
westi
Message:

Add documentation to detail reasoning for default from address. See #5007 props pishmishy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r10553 r10575  
    160160    $email = $user->user_email;
    161161    $name = $user->user_login;
    162     $message_headers = 'From: "' . $blog_title . '" <wordpress@' . $_SERVER['SERVER_NAME'] . '>';
    163162    $message = sprintf(__("Your new WordPress blog has been successfully set up at:
    164163
     
    176175"), $blog_url, $name, $password);
    177176
    178     @wp_mail($email, __('New WordPress Blog'), $message, $message_headers);
     177    @wp_mail($email, __('New WordPress Blog'), $message);
    179178}
    180179endif;
Note: See TracChangeset for help on using the changeset viewer.