GDPR Cookie Compliance - Version 4.9.5

Version Description

Download this release

Release Info

Developer MooveAgency
Plugin Icon 128x128 GDPR Cookie Compliance
Version 4.9.5
Comparing to
See all releases

Code changes from version 4.9.4 to 4.9.5

Files changed (3) hide show
  1. class-moove-gdpr-actions.php +12 -0
  2. moove-gdpr.php +2 -2
  3. readme.txt +4 -1
class-moove-gdpr-actions.php CHANGED
@@ -90,6 +90,8 @@ class Moove_GDPR_Actions {
90
  add_action( 'gdpr_language_alert_bottom', array( &$this, 'gdpr_translatepress_language_select_extension' ), 10, 1 );
91
  add_action( 'admin_url', array( &$this, 'gdpr_form_admin_url_filter' ), 10, 1 );
92
  endif;
 
 
93
  }
94
  /**
95
  * TranslatePress plugin support to switch language inside GDPR Cookie Compliance admin page
@@ -103,6 +105,16 @@ class Moove_GDPR_Actions {
103
  return $url;
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
106
  public static function gdpr_translatepress_language_select_extension( $language ) {
107
  if ( function_exists( 'trp_get_languages' ) ) :
108
  $trp_languages = trp_get_languages();
90
  add_action( 'gdpr_language_alert_bottom', array( &$this, 'gdpr_translatepress_language_select_extension' ), 10, 1 );
91
  add_action( 'admin_url', array( &$this, 'gdpr_form_admin_url_filter' ), 10, 1 );
92
  endif;
93
+
94
+ add_action( 'gdpr_template_html_load', array( &$this, 'gdpr_prevent_html_load_to_divi_builder' ), 10, 1);
95
  }
96
  /**
97
  * TranslatePress plugin support to switch language inside GDPR Cookie Compliance admin page
105
  return $url;
106
  }
107
 
108
+ /**
109
+ * Prevent loading GDPR HTML templates to Divi Builder
110
+ */
111
+ public static function gdpr_prevent_html_load_to_divi_builder( $load ) {
112
+ if ( function_exists( 'et_core_is_fb_enabled' ) && et_core_is_fb_enabled() ) :
113
+ $load = false;
114
+ endif;
115
+ return $load;
116
+ }
117
+
118
  public static function gdpr_translatepress_language_select_extension( $language ) {
119
  if ( function_exists( 'trp_get_languages' ) ) :
120
  $trp_languages = trp_get_languages();
moove-gdpr.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: GDPR Cookie Compliance
5
  * Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
6
  * Description: Our plugin is useful in preparing your site for the following data protection and privacy regulations: GDPR, CCPA, PIPEDA, AAP, LGPD and others.
7
- * Version: 4.9.4
8
  * Author: Moove Agency
9
  * Domain Path: /languages
10
  * Author URI: https://www.mooveagency.com
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
18
  exit;
19
  } // Exit if accessed directly
20
 
21
- define( 'MOOVE_GDPR_VERSION', '4.9.4' );
22
  if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
23
  define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
24
  endif;
4
  * Plugin Name: GDPR Cookie Compliance
5
  * Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
6
  * Description: Our plugin is useful in preparing your site for the following data protection and privacy regulations: GDPR, CCPA, PIPEDA, AAP, LGPD and others.
7
+ * Version: 4.9.5
8
  * Author: Moove Agency
9
  * Domain Path: /languages
10
  * Author URI: https://www.mooveagency.com
18
  exit;
19
  } // Exit if accessed directly
20
 
21
+ define( 'MOOVE_GDPR_VERSION', '4.9.5' );
22
  if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
23
  define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
24
  endif;
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: MooveAgency
3
  Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
4
  Tags: GDPR, CCPA, DSGVO, cookie banner, cookie notice
5
- Stable tag: 4.9.4
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
  Requires PHP: 5.6 or higher
@@ -275,6 +275,9 @@ The Brazilian General Data Protection Law (“Lei Geral de Proteção de Dados
275
  39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
276
 
277
  == Changelog ==
 
 
 
278
  = 4.9.4: 11 November 2022 =
279
  * Floating Button styles and options improved
280
 
2
  Contributors: MooveAgency
3
  Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
4
  Tags: GDPR, CCPA, DSGVO, cookie banner, cookie notice
5
+ Stable tag: 4.9.5
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
  Requires PHP: 5.6 or higher
275
  39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
276
 
277
  == Changelog ==
278
+ = 4.9.5: 29 November 2022 =
279
+ * Excluded cookie HTML from Divi Builder
280
+
281
  = 4.9.4: 11 November 2022 =
282
  * Floating Button styles and options improved
283