Changeset 6265

Show
Ignore:
Timestamp:
10/17/07 20:17:01 (1 year ago)
Author:
westi
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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