improve language cookie value by adding a regex

main
Sébastien SERRE 2 years ago
parent 7bc8b318b0
commit 0d72a8df19

@ -1949,7 +1949,7 @@
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": { "dom": {
@ -1963,6 +1963,7 @@
"icon": "Polylang.svg", "icon": "Polylang.svg",
"oss": true, "oss": true,
"requires": "WordPress", "requires": "WordPress",
"pricing": "freemium",
"website": "https://wordpress.org/plugins/polylang" "website": "https://wordpress.org/plugins/polylang"
}, },
"Polylang Pro": { "Polylang Pro": {
@ -1971,7 +1972,7 @@
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": { "dom": {
@ -1984,6 +1985,7 @@
}, },
"icon": "Polylang.svg", "icon": "Polylang.svg",
"oss": true, "oss": true,
"pricing": "low",
"requires": "WordPress", "requires": "WordPress",
"website": "https://polylang.pro" "website": "https://polylang.pro"
}, },