wp/wp-includes/class-smtp.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
     8 	'5.5.0',
     8 	'5.5.0',
     9 	WPINC . '/PHPMailer/SMTP.php',
     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.' )
    10 	__( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
    11 );
    11 );
    12 
    12 
    13 require __DIR__ . '/PHPMailer/SMTP.php';
    13 require_once __DIR__ . '/PHPMailer/SMTP.php';
    14 
    14 
    15 class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );
    15 class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );