From d5add754fc32b3e5408ea2bca2a67dfc4b4a57bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Thu, 22 Aug 2024 10:17:11 -0300 Subject: [PATCH] Fix polylang integration with different script tag --- src/Integrations/Polylang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Integrations/Polylang.php b/src/Integrations/Polylang.php index be42de9..6408426 100644 --- a/src/Integrations/Polylang.php +++ b/src/Integrations/Polylang.php @@ -41,7 +41,7 @@ public function addConsentTag(): void $script = str_replace(' type="text/javascript"', '', $script); } - $script = str_replace([''], '', $script); + $script = str_replace(['', "