Make WordPress Core

Changeset 60888


Ignore:
Timestamp:
10/01/2025 01:21:33 PM (6 weeks ago)
Author:
SergeyBiryukov
Message:

External Libraries: Upgrade PHPMailer to version 6.11.1.

This is a maintenance release with minor bug fixes.

References:

Follow-up to [54937], [55557], [56484], [57137], [59246], [59481], [60623], [60813].

Props SirLouen, jrf, mukesh27, SergeyBiryukov.
Fixes #64055.

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/PHPMailer/PHPMailer.php

    r60813 r60888  
    769769     * @var string
    770770     */
    771     const VERSION = '6.11.0';
     771    const VERSION = '6.11.1';
    772772
    773773    /**
     
    12421242     * @see https://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation
    12431243     *
    1244      * @param string      $addrstr      The address list string
    1245      * @param string|null $deprecatedArg Deprecated argument since 6.11.0.
    1246      * @param string      $charset      The charset to use when decoding the address list string.
     1244     * @param string $addrstr The address list string
     1245     * @param null   $useimap Deprecated argument since 6.11.0.
     1246     * @param string $charset The charset to use when decoding the address list string.
    12471247     *
    12481248     * @return array
    12491249     */
    1250     public static function parseAddresses($addrstr, $deprecatedArg = null, $charset = self::CHARSET_ISO88591)
    1251     {
    1252         if ($deprecatedArg !== null) {
     1250    public static function parseAddresses($addrstr, $useimap = null, $charset = self::CHARSET_ISO88591)
     1251    {
     1252        if ($useimap !== null) {
    12531253            trigger_error(self::lang('deprecated_argument'), E_USER_DEPRECATED);
    12541254        }
     
    24832483            'imap_recommended' => 'Using simplified address parser is not recommended. ' .
    24842484                'Install the PHP IMAP extension for full RFC822 parsing.',
    2485             'deprecated_argument' => 'Argument $deprecatedArg is deprecated',
     2485            'deprecated_argument' => 'Argument $useimap is deprecated',
    24862486        ];
    24872487        if (empty($lang_path)) {
  • trunk/src/wp-includes/PHPMailer/POP3.php

    r60813 r60888  
    4747     * @var string
    4848     */
    49     const VERSION = '6.11.0';
     49    const VERSION = '6.11.1';
    5050
    5151    /**
  • trunk/src/wp-includes/PHPMailer/SMTP.php

    r60813 r60888  
    3636     * @var string
    3737     */
    38     const VERSION = '6.11.0';
     38    const VERSION = '6.11.1';
    3939
    4040    /**
  • trunk/src/wp-includes/class-wp-phpmailer.php

    r60813 r60888  
    4242            'buggy_php'            => sprintf(
    4343                /* translators: 1: mail.add_x_header. 2: php.ini */
    44                 __(
    45                     'Your version of PHP is affected by a bug that may result in corrupted messages. To fix it, switch to sending using SMTP, disable the %1$s option in your %2$s, or switch to MacOS or Linux, or upgrade your PHP version.'
    46                 ),
     44                __( 'Your version of PHP is affected by a bug that may result in corrupted messages. To fix it, switch to sending using SMTP, disable the %1$s option in your %2$s, or switch to MacOS or Linux, or upgrade your PHP version.' ),
    4745                'mail.add_x_header',
    4846                'php.ini'
     
    9189            'no_smtputf8'          => __( 'Server does not support SMTPUTF8 needed to send to Unicode addresses' ),
    9290            'imap_recommended'     => __( 'Using simplified address parser is not recommended. Install the PHP IMAP extension for full RFC822 parsing.' ),
    93             'deprecated_argument'  => sprintf(
    94                 /* translators: %s: $deprecatedArg */
    95                 __( 'Argument %s is deprecated' ),
    96                 '$deprecatedArg'
    97             ),
     91            /* translators: %s: $useimap */
     92            'deprecated_argument'  => sprintf( __( 'Argument %s is deprecated' ), '$useimap' ),
    9893        );
    9994
Note: See TracChangeset for help on using the changeset viewer.