[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 13:44:57 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:  closed
 Priority:  normal                    |   Milestone:  5.7
Component:  Mail                      |     Version:  5.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50022" 50022]:
 {{{
 #!CommitTicketReference repository="" revision="50022"
 Mail: Make sure the `SMTP` class is only required once if a plugin
 requires `wp-includes/class-smtp.php` directly.

 Follow-up to [48033], [48530].

 Props oellin, greatsaltlake, audrasjb.
 Fixes #52369. See #50716, #41750.
 }}}

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


More information about the wp-trac mailing list