Skip to content

Commit eda4b00

Browse files
External Libraries: Upgrade PHPMailer to version 7.0.0.
This is exactly the same as version 6.11.1 but bumps the major version number to indicate the presence of a backward compatibility break in child classes. Specifically, `lang()`, `setLanguage()`, and `$language` are now static, and should be called statically. References: * [https://github.com/PHPMailer/PHPMailer/releases/tag/v7.0.0 PHPMailer 7.0.0 release notes] * [PHPMailer/PHPMailer@v6.11.1...v7.0.0 Full list of changes in PHPMailer 7.0.0] Follow-up to [54937], [55557], [56484], [57137], [59246], [59481], [60623], [60813], [60888]. Props SirLouen. Fixes #64101. git-svn-id: https://develop.svn.wordpress.org/trunk@61249 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 27aa761 commit eda4b00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/wp-includes/PHPMailer/PHPMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ class PHPMailer
768768
*
769769
* @var string
770770
*/
771-
const VERSION = '6.11.1';
771+
const VERSION = '7.0.0';
772772

773773
/**
774774
* Error severity: message only, continue processing.

src/wp-includes/PHPMailer/POP3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class POP3
4646
*
4747
* @var string
4848
*/
49-
const VERSION = '6.11.1';
49+
const VERSION = '7.0.0';
5050

5151
/**
5252
* Default POP3 port number.

src/wp-includes/PHPMailer/SMTP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SMTP
3535
*
3636
* @var string
3737
*/
38-
const VERSION = '6.11.1';
38+
const VERSION = '7.0.0';
3939

4040
/**
4141
* SMTP line break constant.

0 commit comments

Comments
 (0)