[wp-trac] [WordPress Trac] #28909: Update PHPMailer to 5.2.8

WordPress Trac noreply at wordpress.org
Fri Aug 8 21:02:47 UTC 2014


#28909: Update PHPMailer to 5.2.8
-----------------------------------------+--------------------
 Reporter:  MattyRob                     |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  4.0
Component:  External Libraries           |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch dev-feedback punt  |     Focuses:
-----------------------------------------+--------------------

Comment (by MattyRob):

 Replying to [comment:15 DrewAPicture]:
 >
 > You could absolutely do it :)
 >
 > The goal would be to asses the ways we leverage PHPMailer and test them
 to see if anything changed. If it did, how did it change and what
 recommendations you might have to alleviate any back-compat concerns that
 might arise.

 I feel I may be missing something here but in attempting to answer the
 above:

 On 'greping' through the current WordPress code (rev 29448), the only
 places where PHPMailer is called are in the wp-includes/pluggable.php file
 where the library is used as part of the core wp_mail() function and in
 some multisite files (wp-includes/ms-default-filters.php and wp-includes
 /ms-functions.php) where the phpmailer_init hook is called and the
 outgoing email server name is corrected for multisite emails.

 So, essentially both instances above relate to emails sent using the
 wp_mail() function.

 As for changes, looking through the original diff I submitted here:
 https://core.trac.wordpress.org/attachment/ticket/28909/28909.diff

 The majority of the changes are documentation, string alterations like
 "FALSE" to "false" changes and a switch to using single instead of double
 quotes.

 Is this the kind of thing you mean? IF so I'll see if I can dig into the
 SMTP library.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28909#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list