From 7bc8b318b06baa37d75ad9c68a6c8b575820a447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20SERRE?= Date: Tue, 27 Sep 2022 12:18:53 +0200 Subject: [PATCH] add detection of Polylang language switcher --- src/technologies/p.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index 55f63ffe3..27cbfb7ca 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1952,7 +1952,11 @@ "pll_language": "" }, "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.", - "dom": "img[src*='/wp-content/plugins/polylang/']", + "dom": { + "#pll_switcher": { + "exists": "" + } + }, "headers": { "x-redirected-by": "Polylang" }, @@ -1970,7 +1974,11 @@ "pll_language": "" }, "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.", - "dom": "img[src*='/wp-content/plugins/polylang/']", + "dom": { + "#pll_switcher": { + "exists": "" + } + }, "headers": { "x-redirected-by": "Polylang Pro" },