Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#19887 closed enhancement (fixed)

Upgrade PHPMailer to 5.2.1

Reported by: MattyRob Owned by: ryan
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: Cc:


PHPMailer has already been upgrade pending WordPress 3.4 to version 5.2.0 (http://core.trac.wordpress.org/ticket/19677) but another release has been made to 5.2.1. I propose we get this in as it contains some bug fixes. I'll attach a patch when I get home later.

Attachments (1)

19887.diff (14.3 KB) - added by MattyRob 4 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @ryan4 years ago

  • Milestone changed from Awaiting Review to 3.4

@MattyRob4 years ago

comment:2 @MattyRob4 years ago

Patch as promised. Already has the file name file within the PHPMailer class applied.

comment:3 follow-up: @ocean904 years ago

Seems like tabs and whitespaces for intends are mixed in this patch.

comment:4 in reply to: ↑ 3 @MattyRob4 years ago

Replying to ocean90:

Seems like tabs and whitespaces for intends are mixed in this patch.

All I did was update to the latest trunk version, copy the 2 files in from the PHPMailer download after renaming them to the WordPress file names, fixed the SMTP include line by changing a '.' to a '-' and then created the diff.

The mixed tabs and whitespaces are coming from the PHPMailer original code.

comment:5 @ryan4 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [19849]:

Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887

Note: See TracTickets for help on using tickets.