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
This commit is contained in:
Sergey Biryukov 2025-11-15 23:55:33 +00:00
parent 575bdf57ea
commit 9152e42457
4 changed files with 4 additions and 4 deletions

View File

@ -768,7 +768,7 @@ class PHPMailer
*
* @var string
*/
const VERSION = '6.11.1';
const VERSION = '7.0.0';
/**
* Error severity: message only, continue processing.

View File

@ -46,7 +46,7 @@ class POP3
*
* @var string
*/
const VERSION = '6.11.1';
const VERSION = '7.0.0';
/**
* Default POP3 port number.

View File

@ -35,7 +35,7 @@ class SMTP
*
* @var string
*/
const VERSION = '6.11.1';
const VERSION = '7.0.0';
/**
* SMTP line break constant.

View File

@ -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.