HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //wordpress/plugins/woocommerce-fraud-protection/0.1.5/woocommerce-fraud-protection.php
<?php
/**
 * Plugin Name: WooCommerce Fraud Protection
 * Description: A plugin to protect WooCommerce from fraud.
 * Version: 0.1.5
 * Author: Automattic
 * Requires Plugins: woocommerce
 * Requires PHP: 8.1
 * WC requires at least: 9.5.0
 *
 * @package WooCommerce\FraudProtection
 */

declare( strict_types = 1 );

use Automattic\WooCommerce\Internal\FraudProtectionPlugin\PluginInitializer;

defined( 'ABSPATH' ) || exit;

// Kill-switch for unsupported PHP version.
// Required because the 'Requires PHP' header is not enforced for MU-plugins.
if ( version_compare( PHP_VERSION, '8.1', '<' ) ) {
	return;
}

// Kill-switch: define WC_FRAUD_PROTECTION_DISABLED as true to disable.
if ( defined( 'WC_FRAUD_PROTECTION_DISABLED' ) && WC_FRAUD_PROTECTION_DISABLED ) {
	return;
}

require_once __DIR__ . '/src/Internal/FraudProtectionPlugin/PluginInitializer.php';
PluginInitializer::run( __FILE__ );