Make WordPress Core


Ignore:
Timestamp:
08/18/2021 01:52:16 PM (5 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Upgrade PHPMailer to version 6.5.1.

The latest release includes preliminary PHP 8.1 support, as well as some small bug fixes.

Release notes: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.1

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.5.0...v6.5.1

Follow-up to [50628], [50799], [51169].

Props jrf.
Fixes #53953.

File:
1 edited

Legend:

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

    r49713 r51634  
    3636    public function errorMessage()
    3737    {
    38         return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><br />\n";
     38        return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
    3939    }
    4040}
Note: See TracChangeset for help on using the changeset viewer.