[wp-trac] [WordPress Trac] #64367: Upgrade to WordPress core 6.9 from 6.8.3 causes WooCommerce email failure?

WordPress Trac noreply at wordpress.org
Fri Dec 5 15:38:00 UTC 2025


#64367: Upgrade to WordPress core 6.9 from 6.8.3 causes WooCommerce email failure?
-------------------------------+------------------------
 Reporter:  philipg100         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Mail               |     Version:  6.9
 Severity:  normal             |  Resolution:  duplicate
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------

Comment (by desrosj):

 > I must say I'm surprised that such an integral feature has been changed
 since it might potentially affect literally millions of sites?

 Every change is given careful consideration and only made if multiple
 contributors are confident in the update. In this case, several
 contributors with deep knowledge with email felt that the change was solid
 and low risk.

 While it's possible some people have not yet noticed, the number of
 reports for this issue so far is quite low (less than half a dozen that
 I've seen). At the scale of WordPress, that is not yet indicative of a
 major issue.

 > as far as I can tell there are no error messages -the emails simply
 don't show up in the inbox.
 There's few additional things things to try here. First, could you confirm
 the `WP_DEBUG` and `WP_DEBUG_LOG` are set to `true`? Also, setting
 `WP_DEBUG_DISPLAY` to `false` will prevent any issues where something
 fails due to text being output during requests unexpectedly.

 After confirming this and checking the logs again, if you're comfortable
 doing so could you try the following snippet in your theme's
 `functions.php` file, or in an `mu-plugin` file:

 {{{
 <?php
 add_action( 'phpmailer_init', static function ( $phpmailer ) {
         $phpmailer->Sender = '';
 } );
 }}}

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


More information about the wp-trac mailing list