Ticket #50379: 50379.diff
| File 50379.diff, 1.4 KB (added by , 6 years ago) |
|---|
-
src/wp-includes/class-phpmailer.php
6 6 if ( function_exists( '_deprecated_file' ) ) { 7 7 _deprecated_file( basename( __FILE__ ), '5.5.0', WPINC . '/PHPMailer/PHPMailer.php', __( 'The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' ) ); 8 8 } 9 9 10 require __DIR__ . '/PHPMailer/PHPMailer.php'; 11 require __DIR__ . '/PHPMailer/Exception.php'; 10 12 11 13 class_alias( PHPMailer\PHPMailer\PHPMailer::class, 'PHPMailer' ); 14 class_alias( PHPMailer\PHPMailer\Exception::class, 'phpmailerException' ); -
src/wp-includes/class-smtp.php
4 4 * The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. 5 5 */ 6 6 _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.' ) ); 7 7 8 require __DIR__ . '/PHPMailer/SMTP.php'; 9 10 class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)