[wp-trac] [WordPress Trac] #28618: Allow PHPMailer class to be reliably overriden

WordPress Trac noreply at wordpress.org
Mon Feb 23 11:32:38 UTC 2026


#28618: Allow PHPMailer class to be reliably overriden
-------------------------------------------------+-------------------------
 Reporter:  leewillis77                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Mail                                 |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-test-info has-    |     Focuses:
  patch has-unit-tests needs-refresh             |
-------------------------------------------------+-------------------------
Changes (by snehgohil):

 * keywords:  good-first-bug has-test-info has-patch has-unit-tests => good-
     first-bug has-test-info has-patch has-unit-tests needs-refresh


Comment:

 Tested the attached patch (28618.diff) against the latest WordPress trunk.

 Environment:

 * WordPress: Latest trunk
 * PHP: 8.x
 * Local environment: XAMPP
 * OS: Windows

 Result:
 The patch does not apply cleanly anymore. Running `git apply --check
 28618.diff` reports conflicts in `wp-includes/pluggable.php`, and some
 referenced PHPUnit files no longer exist.

 This indicates the patch is outdated and needs a refresh for the current
 codebase.

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


More information about the wp-trac mailing list