CoreFiles by mySites.guru
class-smtp.php15 lines, 457 bytes, from wordpress-7.1.4.zip
Raw History Compare with 7.1.3
md5
2ee6969a618871d8dd93cfa09da9be8e
sha1
d023797cf01458cd81f40c27a61b206d7916e820
sha256
521e45083d2d43eb70fd7985643fd3847047a2060a743cf9d0635e96eb369563
<?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_once __DIR__ . '/PHPMailer/SMTP.php';

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

The same content is in 375 releases, WordPress 5.7-beta1 to 7.2-beta5. See them all, or every version of this file.