[wp-trac] [WordPress Trac] #64101: Update to PHPMailer 7.0.0

WordPress Trac noreply at wordpress.org
Sun Nov 16 22:44:33 UTC 2025


#64101: Update to PHPMailer 7.0.0
--------------------------------+-----------------------------
 Reporter:  SirLouen            |       Owner:  SergeyBiryukov
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:  6.9
Component:  External Libraries  |     Version:
 Severity:  trivial             |  Resolution:
 Keywords:  has-patch commit    |     Focuses:
--------------------------------+-----------------------------

Comment (by peterwilsoncc):

 @SirLouen I think it would be good to backport the version number changes
 as the PHPMailer 6.11.0 and 6.11.1 include changes that were reverted in
 6.12.0 but retained in 7.0.0. If a developer is calling
 `version_compare()` to determine if these changes are included, it will
 need to be a messy condition `if ( version >= 7.0.0 || version == 6.11.0
 || version == 6.11.1 )`

 > Additionally, will the code in `WP_Locale_Switcher::change_locale()`
 need an update given the above?

 No, because I misread the code on Sunday.

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


More information about the wp-trac mailing list