Version Description
Improved compatibility with WPML Multilingual CMS 3.2.6
Download this release
Release Info
Developer | wunderfarm |
Plugin | WF Cookie Consent |
Version | 0.9.7 |
Comparing to | |
See all releases |
Code changes from version 0.9.5 to 0.9.7
- readme.txt +4 -1
- wf-cookie-consent.php +2 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wunderfarm.com/
|
|
4 |
Tags: compliance, cookie law, cookielaw, cookies, cookiebar, policy, bar, eu cookie law, cookie law banner, cookiechoices, eu privacy directive, privacy, privacy directive, cookie consent, cookieconsent, Multi language, WPML, polylang, responsive, admin, code, content, embed, google, html, integration, javascript, links, login, marketing, page, pages, plugin, simple, text, url, wordpress, law,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 0.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -29,6 +29,9 @@ WF Cookie Consent is the "wunderfarm-way" to show how your website complies with
|
|
29 |
|
30 |
== Changelog ==
|
31 |
|
|
|
|
|
|
|
32 |
= 0.9.5 =
|
33 |
Added compatibility for IE8 and previous IE versions
|
34 |
|
4 |
Tags: compliance, cookie law, cookielaw, cookies, cookiebar, policy, bar, eu cookie law, cookie law banner, cookiechoices, eu privacy directive, privacy, privacy directive, cookie consent, cookieconsent, Multi language, WPML, polylang, responsive, admin, code, content, embed, google, html, integration, javascript, links, login, marketing, page, pages, plugin, simple, text, url, wordpress, law,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 0.9.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
29 |
|
30 |
== Changelog ==
|
31 |
|
32 |
+
= 0.9.7 =
|
33 |
+
Improved compatibility with WPML Multilingual CMS 3.2.6
|
34 |
+
|
35 |
= 0.9.5 =
|
36 |
Added compatibility for IE8 and previous IE versions
|
37 |
|
wf-cookie-consent.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WF Cookie Consent
|
4 |
Plugin URI: http://www.wunderfarm.com/plugins/wf-cookie-consent
|
5 |
Description: The wunderfarm-way to show how your website complies with the EU Cookie Law.
|
6 |
-
Version: 0.9.
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
@@ -213,7 +213,7 @@ if (!function_exists('wf_get_languages')) {
|
|
213 |
//get all languages with icl_get_languages for wpml
|
214 |
$wpml_languages = icl_get_languages('skip_missing=0');
|
215 |
foreach ($wpml_languages as $wpml_language) {
|
216 |
-
$languages[] = $wpml_language['language_code'];
|
217 |
}
|
218 |
}
|
219 |
else {
|
3 |
Plugin Name: WF Cookie Consent
|
4 |
Plugin URI: http://www.wunderfarm.com/plugins/wf-cookie-consent
|
5 |
Description: The wunderfarm-way to show how your website complies with the EU Cookie Law.
|
6 |
+
Version: 0.9.7
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
213 |
//get all languages with icl_get_languages for wpml
|
214 |
$wpml_languages = icl_get_languages('skip_missing=0');
|
215 |
foreach ($wpml_languages as $wpml_language) {
|
216 |
+
$languages[] = !empty($wpml_language['language_code']) ? $wpml_language['language_code'] : $wpml_language['code'];
|
217 |
}
|
218 |
}
|
219 |
else {
|