CoreFiles by mySites.guru
class-smtp.php15 lines, 452 bytes, from wordpress-5.6.21.zip
Raw History Compare with 5.6.20
md5
9f30b8369494c376dfe4f47cd0d41780
sha1
78cda1f1b12e3be87ff6587d8e9cd6d57f11bea4
sha256
d4518228e06efb21ff92327f9fc4f139d3abe71af62b21274fab238695119338
<?php

/**
 * The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
 */
_deprecated_file(
	basename( __FILE__ ),
	'5.5.0',
	WPINC . '/PHPMailer/SMTP.php',
	__( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
);

require __DIR__ . '/PHPMailer/SMTP.php';

class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );

The same content is in 69 releases, WordPress 5.5-beta1 to 5.6.23. See them all, or every version of this file.