Fix wakeup visibility for PHP 8 compatibility (https://github.com/woocommerce/woocommerce-admin/pull/5211)
Co-authored-by: Rebecca Scott <me@becdetat.com>
This commit is contained in:
parent
f3441c866a
commit
6ad7be3d58
|
@ -313,5 +313,7 @@ class FeaturePlugin {
|
|||
/**
|
||||
* Prevent unserializing.
|
||||
*/
|
||||
private function __wakeup() {}
|
||||
public function __wakeup() {
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue