Version Description
Bugfix: For website using earlier versions of WPML.
Download this release
Release Info
Developer | wunderfarm |
Plugin | WF Cookie Consent |
Version | 0.9.0 |
Comparing to | |
See all releases |
Code changes from version 0.8.9 to 0.9.0
- js/cookiechoices.js +16 -0
- readme.txt +10 -7
- wf-cookie-consent.php +3 -3
js/cookiechoices.js
CHANGED
@@ -62,6 +62,22 @@
|
|
62 |
|
63 |
break;
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
default:
|
66 |
|
67 |
data.cookieText = data.cookieText || "Cookies help us deliver our services. By using our services, you agree to our use of cookies.";
|
62 |
|
63 |
break;
|
64 |
|
65 |
+
case "nl":
|
66 |
+
|
67 |
+
data.cookieText = data.cookieText || "Cookies helpen ons bij het leveren van onze diensten. Door gebruik te maken van onze diensten, gaat u akkoord met ons gebruik van cookies.";
|
68 |
+
data.dismissText = data.dismissText || "OK";
|
69 |
+
data.linkText = data.linkText || "Meer informatie";
|
70 |
+
|
71 |
+
break;
|
72 |
+
|
73 |
+
case "fi":
|
74 |
+
|
75 |
+
data.cookieText = data.cookieText || "Evästeet auttavat meitä palvelujemme toimituksessa. Käyttämällä palvelujamme hyväksyt evästeiden käytön.";
|
76 |
+
data.dismissText = data.dismissText || "Selvä";
|
77 |
+
data.linkText = data.linkText || "Lisätietoja";
|
78 |
+
|
79 |
+
break;
|
80 |
+
|
81 |
default:
|
82 |
|
83 |
data.cookieText = data.cookieText || "Cookies help us deliver our services. By using our services, you agree to our use of cookies.";
|
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.2.2
|
7 |
-
Stable tag: 0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -29,29 +29,32 @@ WF Cookie Consent is the "wunderfarm-way" to show how your website complies with
|
|
29 |
|
30 |
== Changelog ==
|
31 |
|
|
|
|
|
|
|
32 |
= 0.8.9 =
|
33 |
-
Bugfix: Include js file
|
34 |
|
35 |
= 0.8.8 =
|
36 |
-
Bugfix: Improved wf_get_languages()
|
37 |
|
38 |
= 0.8.7 =
|
39 |
-
Improved compatibility with other plugins and themes
|
40 |
|
41 |
= 0.8.6 =
|
42 |
Bugfix: Set cookie path (thx for the bug report adfasyxcv!)
|
43 |
|
44 |
= 0.8.5 =
|
45 |
-
Improved compatibility with other plugins
|
46 |
|
47 |
= 0.8.4 =
|
48 |
Escaped text strings for echoing in JS & option field descriptions.
|
49 |
|
50 |
= 0.8.3 =
|
51 |
-
Bugfix: Custom settings with Polylang
|
52 |
|
53 |
= 0.8.2 =
|
54 |
Bugfixes: Custom fields for default language (en) and selected more-info page.
|
55 |
|
56 |
= 0.8.1 =
|
57 |
-
Support for WPML and Polylang
|
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.2.2
|
7 |
+
Stable tag: 0.9.0
|
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.0 =
|
33 |
+
Bugfix: For website using earlier versions of WPML.
|
34 |
+
|
35 |
= 0.8.9 =
|
36 |
+
Bugfix: Include js file.
|
37 |
|
38 |
= 0.8.8 =
|
39 |
+
Bugfix: Improved wf_get_languages().
|
40 |
|
41 |
= 0.8.7 =
|
42 |
+
Improved compatibility with other plugins and themes.
|
43 |
|
44 |
= 0.8.6 =
|
45 |
Bugfix: Set cookie path (thx for the bug report adfasyxcv!)
|
46 |
|
47 |
= 0.8.5 =
|
48 |
+
Improved compatibility with other plugins.
|
49 |
|
50 |
= 0.8.4 =
|
51 |
Escaped text strings for echoing in JS & option field descriptions.
|
52 |
|
53 |
= 0.8.3 =
|
54 |
+
Bugfix: Custom settings with Polylang.
|
55 |
|
56 |
= 0.8.2 =
|
57 |
Bugfixes: Custom fields for default language (en) and selected more-info page.
|
58 |
|
59 |
= 0.8.1 =
|
60 |
+
Support for WPML and Polylang.
|
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.
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
@@ -18,7 +18,7 @@
|
|
18 |
|
19 |
function wf_cookieconsent_scripts() {
|
20 |
|
21 |
-
wp_enqueue_script( 'wf-cookiechoices', plugin_dir_url( __FILE__ ) . 'js/cookiechoices.js', array(), '0.0.
|
22 |
|
23 |
}
|
24 |
|
@@ -175,7 +175,7 @@ if (!function_exists('wf_get_languages')) {
|
|
175 |
}
|
176 |
} else if(function_exists('icl_get_languages')) {
|
177 |
//icl_get_languages for wpml
|
178 |
-
$wpml_languages = icl_get_languages();
|
179 |
foreach ($wpml_languages as $wpml_language) {
|
180 |
$languages[] = $wpml_language['language_code'];
|
181 |
}
|
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.0
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
18 |
|
19 |
function wf_cookieconsent_scripts() {
|
20 |
|
21 |
+
wp_enqueue_script( 'wf-cookiechoices', plugin_dir_url( __FILE__ ) . 'js/cookiechoices.js', array(), '0.0.3', true );
|
22 |
|
23 |
}
|
24 |
|
175 |
}
|
176 |
} else if(function_exists('icl_get_languages')) {
|
177 |
//icl_get_languages for wpml
|
178 |
+
$wpml_languages = icl_get_languages('skip_missing=0');
|
179 |
foreach ($wpml_languages as $wpml_language) {
|
180 |
$languages[] = $wpml_language['language_code'];
|
181 |
}
|