Edit File by line
/home/barbar84/public_h.../wp-inclu...
File: class-smtp.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
[3] Fix | Delete
*/
[4] Fix | Delete
_deprecated_file(
[5] Fix | Delete
basename( __FILE__ ),
[6] Fix | Delete
'5.5.0',
[7] Fix | Delete
WPINC . '/PHPMailer/SMTP.php',
[8] Fix | Delete
__( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
[9] Fix | Delete
);
[10] Fix | Delete
[11] Fix | Delete
require_once __DIR__ . '/PHPMailer/SMTP.php';
[12] Fix | Delete
[13] Fix | Delete
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );
[14] Fix | Delete
[15] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function