ldc-regalette/wp-includes/class-smtp.php

16 lines
457 B
PHP
Raw Normal View History

2020-07-17 15:59:36 +02:00
<?php
/**
2020-08-20 15:08:12 +02:00
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
2020-07-17 15:59:36 +02:00
*/
2020-08-20 15:08:12 +02:00
_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.' )
);
2020-07-17 15:59:36 +02:00
2022-11-09 14:14:13 +00:00
require_once __DIR__ . '/PHPMailer/SMTP.php';
2020-07-17 15:59:36 +02:00
2020-08-20 15:08:12 +02:00
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );