WF Cookie Consent - Version 1.1.5

Version Description

Removed iubenda integration.

Download this release

Release Info

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

Code changes from version 1.1.4 to 1.1.5

Files changed (2) hide show
  1. readme.txt +5 -2
  2. wf-cookie-consent.php +7 -7
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.9
7
- Stable tag: 1.1.4
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.4 =
33
  Important fix for a XSS vulnerability on the 'Settings-Page'.
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: 6.0
7
+ Stable tag: 1.1.5
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.5 =
33
+ Removed iubenda integration.
34
+
35
  = 1.1.4 =
36
  Important fix for a XSS vulnerability on the 'Settings-Page'.
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.4
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,8 +12,7 @@
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
@@ -185,7 +184,6 @@ function wf_cookieconsent_admin_init(){
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
  );
@@ -278,11 +276,13 @@ function wf_cookieconsent_admin_notice__iubenda() {
278
  if ($pagenow == 'options-general.php' && isset($_GET['page']) && $_GET['page'] == 'wf-cookieconsent') {
279
  ?>
280
  <div class="notice notice-info">
281
- <p>
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
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.5
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_BUYMEACOFFEE_URL', 'https://www.buymeacoffee.com/wunderfarm');
 
16
 
17
  /*
18
  * Enqueue JS
184
  $sectionKey,
185
  array(
186
  'fieldname' => 'wf_linkhref',
 
187
  'lang' => $lang
188
  )
189
  );
276
  if ($pagenow == 'options-general.php' && isset($_GET['page']) && $_GET['page'] == 'wf-cookieconsent') {
277
  ?>
278
  <div class="notice notice-info">
279
+ <p>
280
+ <?php print sprintf( __( "<b>What do you think about our plug-in?</b>", "wf-cookie-consent" ) ); ?>
281
+ <br>
282
+ <?php print sprintf( __( "We hope you like it. There's just one catch: sustaining a free WordPress plug-in is quite pricey and believe us when we say we need a lot of good &#9749;&nbsp; coffee to keep it running.", "wf-cookie-consent" ) ); ?>
283
  </p>
284
  <p>
285
+ <?php print sprintf( wp_kses( __( "We'd definitely appreciate it if you could <a href='%s' target='_blank'>offer us some coffee!</a>", "wf-cookie-consent" ), array('b'=>array(),'a'=>array('href'=>array(), 'target'=>array()))), esc_url(WFCOOKIECONSENT_BUYMEACOFFEE_URL) ); ?>
286
  </p>
287
  </div>
288
  <?php