Make WordPress Core

Changeset 48033 for trunk/phpcs.xml.dist


Ignore:
Timestamp:
06/12/2020 03:45:30 PM (4 years ago)
Author:
desrosj
Message:

External Libraries: Upgrade PHPMailer to version 6.1.6.

Now that WordPress Core supports PHP >= 5.6, the PHPMailer library can be updated to the latest version.

The PHPMailer files now reside in a new directory, wp-includes/PHPMailer. These files are copied verbatim from the library upstream and will make updating in the future easier. For backwards compatibility, the old files will remain and trigger deprecated file warnings.

The PHPMailer class is also now under the PHPMailer\PHPMailer\PHPMailer namespace. The PHPMailer class in the global namespace has been aliased for a seamless transition.

This upgrade also clears up a handful of PHP compatibility issues detailed in #49922.

For a full list of changes, see the PHPMailer GitHub: https://github.com/PHPMailer/PHPMailer/compare/v5.2.27...v6.1.6.

Props Synchro, SergeyBiryukov, desrosj, donmhico, ayeshrajans.
Fixes #41750.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r47742 r48033  
    113113    <exclude-pattern>/src/wp-includes/class-json\.php</exclude-pattern>
    114114    <exclude-pattern>/src/wp-includes/class-phpass\.php</exclude-pattern>
    115     <exclude-pattern>/src/wp-includes/class-phpmailer\.php</exclude-pattern>
    116115    <exclude-pattern>/src/wp-includes/class-pop3\.php</exclude-pattern>
    117116    <exclude-pattern>/src/wp-includes/class-requests\.php</exclude-pattern>
    118117    <exclude-pattern>/src/wp-includes/class-simplepie\.php</exclude-pattern>
    119     <exclude-pattern>/src/wp-includes/class-smtp\.php</exclude-pattern>
     118    <exclude-pattern>/src/wp-includes/PHPMailer/Exception\.php</exclude-pattern>
     119    <exclude-pattern>/src/wp-includes/PHPMailer/PHPMailer\.php</exclude-pattern>
     120    <exclude-pattern>/src/wp-includes/PHPMailer/SMTP\.php</exclude-pattern>
    120121    <exclude-pattern>/src/wp-includes/class-snoopy\.php</exclude-pattern>
    121122    <exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
Note: See TracChangeset for help on using the changeset viewer.