From 9152e4245756dbd8210d26a2c1356554cf13b248 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 15 Nov 2025 23:55:33 +0000 Subject: [PATCH] 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] * [https://github.com/PHPMailer/PHPMailer/compare/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. Built from https://develop.svn.wordpress.org/trunk@61249 git-svn-id: http://core.svn.wordpress.org/trunk@60561 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/PHPMailer/PHPMailer.php | 2 +- wp-includes/PHPMailer/POP3.php | 2 +- wp-includes/PHPMailer/SMTP.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/PHPMailer/PHPMailer.php b/wp-includes/PHPMailer/PHPMailer.php index 0a8711f489..ff3b84bb26 100644 --- a/wp-includes/PHPMailer/PHPMailer.php +++ b/wp-includes/PHPMailer/PHPMailer.php @@ -768,7 +768,7 @@ class PHPMailer * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * Error severity: message only, continue processing. diff --git a/wp-includes/PHPMailer/POP3.php b/wp-includes/PHPMailer/POP3.php index 2c2cf78938..c881a1c3fe 100644 --- a/wp-includes/PHPMailer/POP3.php +++ b/wp-includes/PHPMailer/POP3.php @@ -46,7 +46,7 @@ class POP3 * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * Default POP3 port number. diff --git a/wp-includes/PHPMailer/SMTP.php b/wp-includes/PHPMailer/SMTP.php index 3772c94ad7..a36741bfb9 100644 --- a/wp-includes/PHPMailer/SMTP.php +++ b/wp-includes/PHPMailer/SMTP.php @@ -35,7 +35,7 @@ class SMTP * * @var string */ - const VERSION = '6.11.1'; + const VERSION = '7.0.0'; /** * SMTP line break constant. diff --git a/wp-includes/version.php b/wp-includes/version.php index 464f5dac48..20fd39e657 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-alpha-61248'; +$wp_version = '7.0-alpha-61249'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.