Skip to content

Commit 61cd1a5

Browse files
External Libraries: Upgrade PHPMailer to version 6.8.1.
This is a minor maintenance release. Note: WordPress core does not include PHPMailer's DSN class, as it is not particularly relevant for WP. References: * [https://github.com/PHPMailer/PHPMailer/releases/tag/v6.8.1 PHPMailer 6.8.1 release notes] * [PHPMailer/PHPMailer@v6.8.0...v6.8.1 Full list of changes in PHPMailer 6.8.1] Follow-up to [50628], [50799], [51169], [51634], [51635], [52252], [52749], [52811], [53500], [53535], [53917], [54427], [54937], [55557]. Props jrf, Synchro. Fixes #59238. git-svn-id: https://develop.svn.wordpress.org/trunk@56484 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7c254c5 commit 61cd1a5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/wp-includes/PHPMailer/PHPMailer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ class PHPMailer
750750
*
751751
* @var string
752752
*/
753-
const VERSION = '6.8.0';
753+
const VERSION = '6.8.1';
754754

755755
/**
756756
* Error severity: message only, continue processing.
@@ -795,7 +795,7 @@ class PHPMailer
795795
* The maximum line length supported by mail().
796796
*
797797
* Background: mail() will sometimes corrupt messages
798-
* with headers headers longer than 65 chars, see #818.
798+
* with headers longer than 65 chars, see #818.
799799
*
800800
* @var int
801801
*/

src/wp-includes/PHPMailer/SMTP.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SMTP
3535
*
3636
* @var string
3737
*/
38-
const VERSION = '6.8.0';
38+
const VERSION = '6.8.1';
3939

4040
/**
4141
* SMTP line break constant.
@@ -704,7 +704,7 @@ public function close()
704704
* Send an SMTP DATA command.
705705
* Issues a data command and sends the msg_data to the server,
706706
* finalizing the mail transaction. $msg_data is the message
707-
* that is to be send with the headers. Each header needs to be
707+
* that is to be sent with the headers. Each header needs to be
708708
* on a single line followed by a <CRLF> with the message headers
709709
* and the message body being separated by an additional <CRLF>.
710710
* Implements RFC 821: DATA <CRLF>.
@@ -732,7 +732,7 @@ public function data($msg_data)
732732
$lines = explode("\n", str_replace(["\r\n", "\r"], "\n", $msg_data));
733733

734734
/* To distinguish between a complete RFC822 message and a plain message body, we check if the first field
735-
* of the first line (':' separated) does not contain a space then it _should_ be a header and we will
735+
* of the first line (':' separated) does not contain a space then it _should_ be a header, and we will
736736
* process all lines before a blank line as headers.
737737
*/
738738

0 commit comments

Comments
 (0)