Make WordPress Core

Changeset 6265


Ignore:
Timestamp:
10/17/2007 08:17:01 PM (17 years ago)
Author:
westi
Message:

Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r6219 r6265  
    224224    // Set the from name and email
    225225    $phpmailer->From = apply_filters( 'wp_mail_from', $from_email );
     226    $phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email );
    226227    $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
    227228
Note: See TracChangeset for help on using the changeset viewer.