Skip to content

Update PHPMailer code in a backwards compatible way for WordPress 5.5 #18

@salcode

Description

@salcode

I received the following email regarding the upcoming WordPress 5.5 release

A plugin you have commit access to has been flagged as using the PHPMailer library. This library has been updated in the upcoming WordPress release (5.5) from version 5.2.27 to version 6.1.6. This is a major update to the library with several backward compatibility breaks. The target date for the release of WordPress 5.5 is 2020-08-11.

Affected plugin(s):

Here are some rough code examples that may have matched in your plugin(s):

  • $mailer = new PHPMailer();
  • include ABSPATH . WPINC . 'class-phpmailer.php'

Trunk always contains the bleeding edge, unreleased WordPress code that is being worked on for the next release (in this case, 5.5). Please take the time to test your plugin(s) against trunk to ensure your users will not experience any issues or unintended behavior after this update.

We need to test the plugin with WordPress 5.5 and make any necessary adjustments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions