Remove redundant cleanup of PHPMailer addresses in wp_mail().

props bananastalktome.
fixes #25789.
Built from https://develop.svn.wordpress.org/trunk@26121


git-svn-id: http://core.svn.wordpress.org/trunk@26033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-11-13 03:45:11 +00:00
parent 74f77b85a6
commit 12d10da7e6
1 changed files with 0 additions and 3 deletions

View File

@ -306,11 +306,8 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
} }
// Empty out the values that may be set // Empty out the values that may be set
$phpmailer->ClearAddresses();
$phpmailer->ClearAllRecipients(); $phpmailer->ClearAllRecipients();
$phpmailer->ClearAttachments(); $phpmailer->ClearAttachments();
$phpmailer->ClearBCCs();
$phpmailer->ClearCCs();
$phpmailer->ClearCustomHeaders(); $phpmailer->ClearCustomHeaders();
$phpmailer->ClearReplyTos(); $phpmailer->ClearReplyTos();