ldc-espri-restauration/wp-includes/class-smtp.php

16 lines
457 B
PHP
Raw Normal View History

2017-06-13 09:45:37 +02:00
<?php
/**
2021-08-04 17:09:29 +02:00
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
2017-06-13 09:45:37 +02:00
*/
2021-08-04 17:09:29 +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.' )
);
2017-06-13 09:45:37 +02:00
2021-08-04 17:09:29 +02:00
require_once __DIR__ . '/PHPMailer/SMTP.php';
2017-06-13 09:45:37 +02:00
2021-08-04 17:09:29 +02:00
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );