[wp-trac] [WordPress Trac] #52369: Deprecated wp-includes/SMTP.php should use require_once to include the new namespaced class

WordPress Trac noreply at wordpress.org
Mon Jan 25 22:45:52 UTC 2021


#52369: Deprecated wp-includes/SMTP.php should use require_once to include the new
namespaced class
---------------------------+-----------------------------
 Reporter:  greatsaltlake  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.6
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Currently the deprecated file uses
 {{{#!php
 <?php
 require __DIR__ . '/PHPMailer/SMTP.php';
 }}}
 which can lead to a fatal error if that class or the deprecated file has
 already been loaded.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52369>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list