HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: //var/chroot/var/www/wp-content/mu-plugins/vendor/godaddy/mwc-core/mwc-core.php
<?php
/**
 * Plugin name: MWC Core.
 */

namespace GoDaddy\WordPress\MWC\Core;

use Exception;
use GoDaddy\WordPress\MWC\Common\Exceptions\SentryException;
use GoDaddy\WordPress\MWC\Core\Plugin\SystemPluginPatchLoader;

if (version_compare(PHP_VERSION, '7.4', '>=')) {
    require_once __DIR__.'/vendor/autoload.php';
}

// load the MWC core package
add_action('plugins_loaded', static function () {
    try {
        if (version_compare(PHP_VERSION, '7.4', '>=')) {
            SystemPluginPatchLoader::getInstance()->load();
        }
    } catch (SentryException $exception) {
        // avoid logging Sentry exceptions twice
    } catch (Exception $exception) {
        new SentryException("Failed to get core instance: {$exception->getMessage()}", $exception);
    }
});