Make WordPress Core

Opened 4 days ago

Last modified 4 days ago

#51311 new task (blessed)

Update PHPMailer library

Reported by: desrosj Owned by:
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: has-patch
Focuses: Cc:


Version 6.1.7 of PHPMailer has been released.

A list of all changes since 6.1.6: https://github.com/PHPMailer/PHPMailer/compare/v6.1.6...v6.1.7

Attachments (1)

51311.patch (10.6 KB) - added by ayeshrajans 4 days ago.
Tests: https://travis-ci.com/github/Ayesh/wordpress-develop/builds/184375019

Download all attachments as: .zip

Change History (2)

#1 @ayeshrajans
4 days ago

  • Keywords has-patch added; needs-patch removed

This patch overwrites the existing PHPMailer.php and SMTP.php files with a verbatim copy from upstream 6.1.7 tag.

I noticed 3 PHPCS/PHPCompat rules that we added later to the 6.1.6 copy. PHPMailer directory (src/wp-includes/PHPMailer) is already in the main PHPCS configuration file, and this patch adds the directory to phpcompat.xml.dist file as well, so we no longer need to patch PHPMailer to pass PHPComat CI check.

From now on, we will be able to simply copy new PHPMailer releases (PHPMailer.php, Exception.php and SMTP.php) into src/wp-includes/PHPMailer directory.

Note: See TracTickets for help on using tickets.