[wp-trac] [WordPress Trac] #41750: Update PHPMailer to 6.0
WordPress Trac
noreply at wordpress.org
Wed Sep 18 14:59:21 UTC 2019
#41750: Update PHPMailer to 6.0
-------------------------------------------------+-------------------------
Reporter: Synchro | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.3
Component: Mail | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by desrosj):
[attachment:"41750.2.diff"] updates the `MockPHPMailer` class to extend
the `PHPMailer` class at the correct new namespace.
Also, it looks like PHPMailer now includes its own `Exception` class that
is used by default. The only thing that class does is wrap exception
messages in HTML. [attachment:"41750.2.diff"] adds a preceding `\` to all
`Exception` occurrences to use the globally namespaced `Exception`
instead.
There are still some unit test failures that need to be investigated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41750#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list