Improve Polylang detection / detects Polylang or Polylang Pro

main
Sébastien SERRE 2 years ago
parent dad6e19c98
commit c0bc778773

@ -1954,7 +1954,25 @@
"description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.", "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.",
"dom": "img[src*='/wp-content/plugins/polylang/']", "dom": "img[src*='/wp-content/plugins/polylang/']",
"headers": { "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", "icon": "Polylang.svg",
"oss": true, "oss": true,
@ -3220,4 +3238,4 @@
}, },
"website": "http://punbb.informer.com" "website": "http://punbb.informer.com"
} }
} }