diff --git a/scoper.inc.php b/scoper.inc.php index ffab50e8..91b8b402 100644 --- a/scoper.inc.php +++ b/scoper.inc.php @@ -66,7 +66,7 @@ 'exclude-classes' => array_merge($wp_classes, [ 'WooCommerce', '/^WC_/', - '^WCS_Retry_Manager' + '\WCS_Retry_Manager' ]), // list 'exclude-functions' => array_merge($wp_functions, [ '/^wc/',