Merge pull request #6795 from sebastienserre/master

Detect if Polylang Pro or Polylang is used
main
Elbert Alias 2 years ago committed by GitHub
commit dccd247a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1949,17 +1949,18 @@
89 89
], ],
"cookies": { "cookies": {
"pll_language": "" "pll_language": "([a-z]{2})"
}, },
"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": "#pll_switcher",
"headers": { "headers": {
"x-redirected-by": "Polylang(?:\\s[a-zA-Z]+)?" "x-redirected-by": "Polylang(?: (Pro))?\\;version:\\1"
}, },
"icon": "Polylang.svg", "icon": "Polylang.svg",
"oss": true, "oss": true,
"requires": "WordPress", "requires": "WordPress",
"website": "https://polylang.pro" "pricing": "freemium",
"website": "https://wordpress.org/plugins/polylang"
}, },
"Polymer": { "Polymer": {
"cats": [ "cats": [
@ -3262,4 +3263,4 @@
}, },
"website": "http://punbb.informer.com" "website": "http://punbb.informer.com"
} }
} }

Loading…
Cancel
Save