mirror of
git://develop.git.wordpress.org/
synced 2025-01-31 12:29:09 +01:00
Remove redundant cleanup of PHPMailer addresses in wp_mail().
props bananastalktome. fixes #25789. git-svn-id: https://develop.svn.wordpress.org/trunk@26121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
39d55fddb8
commit
a6f9656497
@ -306,11 +306,8 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
|
||||
}
|
||||
|
||||
// Empty out the values that may be set
|
||||
$phpmailer->ClearAddresses();
|
||||
$phpmailer->ClearAllRecipients();
|
||||
$phpmailer->ClearAttachments();
|
||||
$phpmailer->ClearBCCs();
|
||||
$phpmailer->ClearCCs();
|
||||
$phpmailer->ClearCustomHeaders();
|
||||
$phpmailer->ClearReplyTos();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user