WF Cookie Consent - Version 1.1.2

Version Description

Added a direct link to generate a cookie policy.

Download this release

Release Info

Developer wunderfarm
Plugin Icon 128x128 WF Cookie Consent
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

Files changed (2) hide show
  1. readme.txt +5 -2
  2. wf-cookie-consent.php +6 -3
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wunderfarm
3
  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.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.1 =
33
  Added Hungarian Language. Minor Bugfixes.
34
 
3
  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.9
7
+ Stable tag: 1.1.2
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.2 =
33
+ Added a direct link to generate a cookie policy.
34
+
35
  = 1.1.1 =
36
  Added Hungarian Language. Minor Bugfixes.
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.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
@@ -12,6 +12,9 @@
12
 
13
  defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
14
 
 
 
 
15
  /*
16
  * Enqueue JS
17
  */
@@ -182,7 +185,7 @@ function wf_cookieconsent_admin_init(){
182
  $sectionKey,
183
  array(
184
  'fieldname' => 'wf_linkhref',
185
- 'fielddescription' => '',
186
  'lang' => $lang
187
  )
188
  );
@@ -279,7 +282,7 @@ function wf_cookieconsent_admin_notice__iubenda() {
279
  <?php print wp_kses( __( 'Websites that use third-party cookies as well as their own cookies for tracking and analytics must comply with the Cookie law and are required to obtain explicit consent from the user. Users must be provided with a clear, comprehensible and visible notice about the use of cookies by the website.', 'wf-cookie-consent' ), array('b'=>array())); ?>
280
  </p>
281
  <p>
282
- <?php print sprintf( wp_kses( __( '<b>The WF Cookie Consent banner is only one part of the requirement</b>, you must provide a link to a more detailed actual cookie policy. <a href="%s" target="_blank">Click here to learn more on how to generate a cookie policy.</a>', 'wf-cookie-consent' ), array('b'=>array(),'a'=>array('href'=>array(), 'target'=>array()))), esc_url('https://www.iubenda.com/en/help/posts/3284') ); ?>
283
  </p>
284
  </div>
285
  <?php
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.2
7
  License: GNU General Public License v2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Author: wunderfarm
12
 
13
  defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
14
 
15
+ define ('WFCOOKIECONSENT_IUBENDA_DIRECT_URL', 'http://iubenda.refr.cc/N3792HZ');
16
+ define ('WFCOOKIECONSENT_IUBENDA_HELP_URL', 'https://www.iubenda.com/en/help/posts/3284');
17
+
18
  /*
19
  * Enqueue JS
20
  */
185
  $sectionKey,
186
  array(
187
  'fieldname' => 'wf_linkhref',
188
+ 'fielddescription' => sprintf( wp_kses( __( '<a href="%s" target="_blank">Add your policy</a>', 'wf-cookie-consent' ), array('a'=>array('href'=>array(), 'target'=>array()))), esc_url(WFCOOKIECONSENT_IUBENDA_DIRECT_URL)),
189
  'lang' => $lang
190
  )
191
  );
282
  <?php print wp_kses( __( 'Websites that use third-party cookies as well as their own cookies for tracking and analytics must comply with the Cookie law and are required to obtain explicit consent from the user. Users must be provided with a clear, comprehensible and visible notice about the use of cookies by the website.', 'wf-cookie-consent' ), array('b'=>array())); ?>
283
  </p>
284
  <p>
285
+ <?php print sprintf( wp_kses( __( '<b>The WF Cookie Consent banner is only one part of the requirement</b>, you must provide a link to a more detailed actual cookie policy. <a href="%s" target="_blank">Click here to learn more on how to generate a cookie policy.</a>', 'wf-cookie-consent' ), array('b'=>array(),'a'=>array('href'=>array(), 'target'=>array()))), esc_url(WFCOOKIECONSENT_IUBENDA_HELP_URL) ); ?>
286
  </p>
287
  </div>
288
  <?php