[wp-trac] [WordPress Trac] #33972: static use of PHPMailer class results in stale state between calls to wp_mail()

WordPress Trac noreply at wordpress.org
Tue Aug 12 19:24:33 UTC 2025


#33972: static use of PHPMailer class results in stale state between calls to
wp_mail()
-------------------------------------------------+-------------------------
 Reporter:  codebuddy                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  Mail                                 |     Version:  4.3
 Severity:  critical                             |  Resolution:
 Keywords:  has-test-info good-first-bug has-    |     Focuses:
  patch changes-requested                        |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-test-info good-first-bug has-patch => has-test-info good-
     first-bug has-patch changes-requested


Comment:

 @rishabhwp can you add the unit tests in `33972.test.diff` to your PR?

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


More information about the wp-trac mailing list