[wp-trac] [WordPress Trac] #53430: Update PHPMailer to 6.5.0 security release

WordPress Trac noreply at wordpress.org
Wed Jun 16 16:41:55 UTC 2021


#53430: Update PHPMailer to 6.5.0 security release
--------------------------------+---------------------
 Reporter:  ayeshrajans         |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  5.8
Component:  External Libraries  |     Version:
 Severity:  major               |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+---------------------

Comment (by ayeshrajans):

 Thank you @Synchro, I indeed had mistakenly typed wrong version number,
 updating now.

 {{{#!php
 $phpmailer::$validator = static function ( $email ) {
                                 return (bool) is_email( $email );
                         };

 }}}


 Apparently this's how the validator is added, so it shouldn't be a
 problem. I remember there was a ticket on core Trac about the validator
 failing with the `is_email` function, and them suggesting to change the
 validator to something else, hence my suspicious about failing tests.
 .
 We probably ought to put a dev note about this change

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


More information about the wp-trac mailing list