diff --git a/plugins/woocommerce-admin/src/FeaturePlugin.php b/plugins/woocommerce-admin/src/FeaturePlugin.php index 2e52a7bb674..6a66e9bc783 100644 --- a/plugins/woocommerce-admin/src/FeaturePlugin.php +++ b/plugins/woocommerce-admin/src/FeaturePlugin.php @@ -313,5 +313,7 @@ class FeaturePlugin { /** * Prevent unserializing. */ - private function __wakeup() {} + public function __wakeup() { + die(); + } }