Remove static call WP function.

[MAILPOET-3031]
This commit is contained in:
Jan Lysý
2021-03-26 10:51:52 +01:00
committed by Veljko V
parent 2f263fb988
commit 09a75e14bd

View File

@ -70,7 +70,7 @@ class SubscriberSaveController {
public function save(array $data): SubscriberEntity {
if (is_array($data) && !empty($data)) {
$data = WPFunctions::get()->stripslashesDeep($data);
$data = $this->wp->stripslashesDeep($data);
}
if (empty($data['segments'])) {