HEX
Server: Apache
System: Linux p3plzcpnl504902.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: nhqyemt2u0zd (3690907)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: /home/nhqyemt2u0zd/public_html/wp-content/plugins/wordpress-seo/src/main.php
<?php
/**
 * Yoast SEO Plugin File.
 *
 * @package Yoast\YoastSEO\Loaders
 */

namespace Yoast\WP\Free;

use Yoast\WP\Free\Config\Dependency_Management;
use Yoast\WP\Free\Dependency_Injection\Container_Compiler;
use Yoast\WP\Free\Generated\Cached_Container;

if ( ! defined( 'WPSEO_VERSION' ) ) {
	header( 'Status: 403 Forbidden' );
	header( 'HTTP/1.1 403 Forbidden' );
	exit();
}

$dependency_management = new Dependency_Management();
$dependency_management->initialize();

$development = defined( 'YOAST_ENVIRONMENT' ) && YOAST_ENVIRONMENT === 'development';
if ( $development && class_exists( '\Yoast\WP\Free\Dependency_Injection\Container_Compiler' ) ) {
	// Exception here is unhandled as it will only occur in development.
	Container_Compiler::compile( $development );
}

if ( file_exists( __DIR__ . '/generated/container.php' ) ) {
	require_once __DIR__ . '/generated/container.php';
	$container = new Cached_Container();
	try {
		$container->get( Loader::class )->load();
	} catch ( \Exception $e ) {
		if ( $development ) {
			throw $e;
		}
		// Don't crash the entire site, simply don't load.
		// TODO: Add error notifications here.
	}
}