Version Description
Added Hungarian Language. Minor Bugfixes.
Download this release
Release Info
Developer | wunderfarm |
Plugin | WF Cookie Consent |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- readme.txt +4 -1
- wf-cookie-consent.php +9 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.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, lightweight,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.1.
|
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 |
= 1.1.0 =
|
33 |
Better admin default options, performance improvements and iubenda integration added.
|
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, lightweight,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
29 |
|
30 |
== Changelog ==
|
31 |
|
32 |
+
= 1.1.1 =
|
33 |
+
Added Hungarian Language. Minor Bugfixes.
|
34 |
+
|
35 |
= 1.1.0 =
|
36 |
Better admin default options, performance improvements and iubenda integration added.
|
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: 1.1.
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
@@ -65,6 +65,12 @@ function wf_cookieconsent_get_options($language = null) {
|
|
65 |
if (empty($data['wf_cookietext'])) $data['wf_cookietext'] = "Evästeet auttavat meitä palvelujemme toimituksessa. Käyttämällä palvelujamme hyväksyt evästeiden käytön.";
|
66 |
if (empty($data['wf_dismisstext'])) $data['wf_dismisstext'] = "Selvä";
|
67 |
if (empty($data['wf_linktext'])) $data['wf_linktext'] = "Lisätietoja";
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
break;
|
69 |
|
70 |
default:
|
@@ -192,7 +198,6 @@ function wf_cookieconsent_admin_init(){
|
|
192 |
'lang' => $lang
|
193 |
)
|
194 |
);
|
195 |
-
|
196 |
add_settings_field(
|
197 |
'wf_dismisstext',
|
198 |
esc_html__('Dismiss text', 'wf-cookie-consent'),
|
@@ -250,7 +255,7 @@ function wf_cookieconsent_setting_page_selector($args) {
|
|
250 |
}
|
251 |
|
252 |
function wf_cookieconsent_setting_radio($args) {
|
253 |
-
|
254 |
if(empty($options[$args['fieldname']])) {
|
255 |
$options[$args['fieldname']] = '';
|
256 |
}
|
@@ -267,7 +272,7 @@ function wf_cookieconsent_setting_radio($args) {
|
|
267 |
|
268 |
function wf_cookieconsent_admin_notice__iubenda() {
|
269 |
global $pagenow;
|
270 |
-
if ($pagenow == 'options-general.php' && $_GET['page'] == 'wf-cookieconsent') {
|
271 |
?>
|
272 |
<div class="notice notice-info">
|
273 |
<p>
|
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: 1.1.1
|
7 |
License: GNU General Public License v2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Author: wunderfarm
|
65 |
if (empty($data['wf_cookietext'])) $data['wf_cookietext'] = "Evästeet auttavat meitä palvelujemme toimituksessa. Käyttämällä palvelujamme hyväksyt evästeiden käytön.";
|
66 |
if (empty($data['wf_dismisstext'])) $data['wf_dismisstext'] = "Selvä";
|
67 |
if (empty($data['wf_linktext'])) $data['wf_linktext'] = "Lisätietoja";
|
68 |
+
break;
|
69 |
+
|
70 |
+
case 'hu':
|
71 |
+
if (empty($data['wf_cookietext'])) $data['wf_cookietext'] = "A weboldalon cookie-kat használunk, amik segítenek minket a lehető legjobb szolgáltatások nyújtásában. Weboldalunk további használatával jóváhagyja, hogy cookie-kat használjunk.";
|
72 |
+
if (empty($data['wf_dismisstext'])) $data['wf_dismisstext'] = "OK";
|
73 |
+
if (empty($data['wf_linktext'])) $data['wf_linktext'] = "További információk";
|
74 |
break;
|
75 |
|
76 |
default:
|
198 |
'lang' => $lang
|
199 |
)
|
200 |
);
|
|
|
201 |
add_settings_field(
|
202 |
'wf_dismisstext',
|
203 |
esc_html__('Dismiss text', 'wf-cookie-consent'),
|
255 |
}
|
256 |
|
257 |
function wf_cookieconsent_setting_radio($args) {
|
258 |
+
$options = wf_cookieconsent_get_options();
|
259 |
if(empty($options[$args['fieldname']])) {
|
260 |
$options[$args['fieldname']] = '';
|
261 |
}
|
272 |
|
273 |
function wf_cookieconsent_admin_notice__iubenda() {
|
274 |
global $pagenow;
|
275 |
+
if ($pagenow == 'options-general.php' && isset($_GET['page']) && $_GET['page'] == 'wf-cookieconsent') {
|
276 |
?>
|
277 |
<div class="notice notice-info">
|
278 |
<p>
|