[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
Tue Jan 26 02:05:18 UTC 2021


#52369: Deprecated wp-includes/SMTP.php should use require_once to include the new
namespaced class
----------------------------------------+-----------------------
 Reporter:  greatsaltlake               |       Owner:  audrasjb
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  5.7
Component:  Mail                        |     Version:  5.5
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * component:  External Libraries => Mail


Comment:

 Good catch, introduced in [48033] / #41750.

 This was solved for `wp-includes/class-phpmailer.php` in [48530] / #50716,
 but not for `class-smtp.php`.

 Since `wp-includes/class-smtp.php` is no longer an external file, moving
 to the Mail component.

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


More information about the wp-trac mailing list