author | ymh <ymh.work@gmail.com> |
Tue, 15 Dec 2020 13:49:49 +0100 | |
changeset 16 | a86126ab1dd4 |
parent 9 | 177826044cd9 |
child 18 | be944660c56a |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
||
3 |
/** |
|
16 | 4 |
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. |
0 | 5 |
*/ |
16 | 6 |
_deprecated_file( |
7 |
basename( __FILE__ ), |
|
8 |
'5.5.0', |
|
9 |
WPINC . '/PHPMailer/SMTP.php', |
|
10 |
__( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' ) |
|
11 |
); |
|
0 | 12 |
|
16 | 13 |
require __DIR__ . '/PHPMailer/SMTP.php'; |
0 | 14 |
|
16 | 15 |
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' ); |