[wp-trac] [WordPress Trac] #51311: Update PHPMailer library

WordPress Trac noreply at wordpress.org
Tue Sep 15 10:48:32 UTC 2020


#51311: Update PHPMailer library
--------------------------------+---------------------
 Reporter:  desrosj             |       Owner:  (none)
     Type:  task (blessed)      |      Status:  new
 Priority:  normal              |   Milestone:  5.6
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+---------------------
Changes (by ayeshrajans):

 * keywords:  needs-patch => has-patch


Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51311#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list