From c0bc778773195c8ec19e421f35e638a981bb9e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20SERRE?= Date: Tue, 27 Sep 2022 12:04:52 +0200 Subject: [PATCH] Improve Polylang detection / detects Polylang or Polylang Pro --- src/technologies/p.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index f529626bc..55f63ffe3 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1954,7 +1954,25 @@ "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.", "dom": "img[src*='/wp-content/plugins/polylang/']", "headers": { - "x-redirected-by": "Polylang(?:\\s[a-zA-Z]+)?" + "x-redirected-by": "Polylang" + }, + "icon": "Polylang.svg", + "oss": true, + "requires": "WordPress", + "website": "https://wordpress.org/plugins/polylang" + }, + "Polylang Pro": { + "cats": [ + 87, + 89 + ], + "cookies": { + "pll_language": "" + }, + "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.", + "dom": "img[src*='/wp-content/plugins/polylang/']", + "headers": { + "x-redirected-by": "Polylang Pro" }, "icon": "Polylang.svg", "oss": true, @@ -3220,4 +3238,4 @@ }, "website": "http://punbb.informer.com" } -} \ No newline at end of file +}