[wp-trac] [WordPress Trac] #28909: Update PHPMailer to 5.2.10
WordPress Trac
noreply at wordpress.org
Mon Jul 6 15:56:12 UTC 2015
#28909: Update PHPMailer to 5.2.10
--------------------------------+-----------------------
Reporter: MattyRob | Owner: ocean90
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.3
Component: External Libraries | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------------+-----------------------
Comment (by MattyRob):
It looks like it might be something to do with line breaks. In the unit
tests there are line breaks added in the test functions:
{{{
$this->assertEquals($message . "\n",
$GLOBALS['phpmailer']->mock_sent[0]['body']);
}}}
I'm not sure why they are in there but I suspect it was to ensure the
previous versions of PHPMailer passed the tests. PHPMailer 5.2.8 and5.2.10
have reported improvements in encoding so perhaps that's why the new
version fails these tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28909#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list