iubenda Cookie Solution for GDPR - Version 2.0.2

Version Description

  • Fix: initialize iubenda CS on POST requests not working
  • Tweak: iubenda generic menu icon switched to iubenda logo
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 iubenda Cookie Solution for GDPR
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

includes/settings.php CHANGED
@@ -166,7 +166,7 @@ class iubenda_Settings {
166
  } else {
167
  // top menu
168
  add_menu_page(
169
- 'iubenda', 'iubenda', apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda', array( $this, 'options_page' )
170
  );
171
  add_submenu_page( 'iubenda', __( 'Cookie Solution', 'iubenda' ), __( 'Cookie Solution', 'iubenda' ), apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda', array( $this, 'options_page' ) );
172
  add_submenu_page( 'iubenda', __( 'Consent Solution', 'iubenda' ), __( 'Consent Solution', 'iubenda' ), apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda&tab=cons', array( $this, 'options_page' ) );
166
  } else {
167
  // top menu
168
  add_menu_page(
169
+ 'iubenda', 'iubenda', apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda', array( $this, 'options_page' ), 'none'
170
  );
171
  add_submenu_page( 'iubenda', __( 'Cookie Solution', 'iubenda' ), __( 'Cookie Solution', 'iubenda' ), apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda', array( $this, 'options_page' ) );
172
  add_submenu_page( 'iubenda', __( 'Consent Solution', 'iubenda' ), __( 'Consent Solution', 'iubenda' ), apply_filters( 'iubenda_cookie_law_cap', 'manage_options' ), 'iubenda&tab=cons', array( $this, 'options_page' ) );
iubenda_cookie_solution.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
- Version: 2.0.1
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
@@ -32,7 +32,7 @@ define( 'IUB_DEBUG', false );
32
  * iubenda final class.
33
  *
34
  * @class iubenda
35
- * @version 2.0.1
36
  */
37
  class iubenda {
38
 
@@ -58,7 +58,7 @@ class iubenda {
58
  )
59
  );
60
  public $base_url;
61
- public $version = '2.0.1';
62
  public $no_html = false;
63
  public $multilang = false;
64
  public $languages = array();
@@ -278,7 +278,7 @@ class iubenda {
278
  }
279
 
280
  // is post or not html content type?
281
- if ( $_POST || $this->no_html )
282
  return;
283
 
284
  // initial head output
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
+ Version: 2.0.2
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
32
  * iubenda final class.
33
  *
34
  * @class iubenda
35
+ * @version 2.0.2
36
  */
37
  class iubenda {
38
 
58
  )
59
  );
60
  public $base_url;
61
+ public $version = '2.0.2';
62
  public $no_html = false;
63
  public $multilang = false;
64
  public $languages = array();
278
  }
279
 
280
  // is post or not html content type?
281
+ if ( ( $_POST && $this->options['cs']['output_post'] ) || $this->no_html )
282
  return;
283
 
284
  // initial head output
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: cookies, cookie law, cookie policy, cookie banner, privacy policy, cookie
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.3
8
- Stable tag: 2.0.1
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -134,8 +134,12 @@ We will be very happy to receive feedback here: [Uservoice forum](http://support
134
 
135
  == Changelog ==
136
 
 
 
 
 
137
  = 2.0.1 =
138
- * New: Jetpack tracking blocking
139
  * Fix: add_submenu_page and add_menu_page called incorrectly in WP 5.3
140
 
141
  = 2.0.0 =
@@ -373,5 +377,5 @@ We will be very happy to receive feedback here: [Uservoice forum](http://support
373
 
374
  == Upgrade Notice ==
375
 
376
- = 2.0.1 =
377
- * New: Jetpack tracking blocking
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.3
8
+ Stable tag: 2.0.2
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
134
 
135
  == Changelog ==
136
 
137
+ = 2.0.2 =
138
+ * Fix: initialize iubenda CS on POST requests not working
139
+ * Tweak: iubenda generic menu icon switched to iubenda logo
140
+
141
  = 2.0.1 =
142
+ * New: Jetpack tracking blocking support
143
  * Fix: add_submenu_page and add_menu_page called incorrectly in WP 5.3
144
 
145
  = 2.0.0 =
377
 
378
  == Upgrade Notice ==
379
 
380
+ = 2.0.2 =
381
+ * Fix: initialize iubenda CS on POST requests not working