HEX
Server: Apache
System: Linux hlpi1ws-c267s08.ad.aruba.it 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64
User: ID19723064 (19723064)
PHP: 8.2.28
Disabled: popen,exec,passthru,pcntl_exec,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,show_source,shell_exec,system,posix_getpwuid,dl
Upload Files
File: /web/htdocs/www.silencelab.it/home/wp-includes/class-phpmailer.php
<?php

/**
 * The PHPMailer class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
 */
if ( function_exists( '_deprecated_file' ) ) {
	_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.' )
	);
}

require_once __DIR__ . '/PHPMailer/PHPMailer.php';
require_once __DIR__ . '/PHPMailer/Exception.php';

class_alias( PHPMailer\PHPMailer\PHPMailer::class, 'PHPMailer' );
class_alias( PHPMailer\PHPMailer\Exception::class, 'phpmailerException' );