Version Description
Download this release
Release Info
Developer | MooveAgency |
Plugin | GDPR Cookie Compliance |
Version | 4.1.3 |
Comparing to | |
See all releases |
Code changes from version 4.1.2 to 4.1.3
- class-moove-gdpr-actions.php +2 -0
- controllers/class-moove-gdpr-controller.php +10 -3
- gdpr-modules/branding-styles.php +1 -1
- moove-gdpr.php +2 -2
- readme.txt +4 -0
class-moove-gdpr-actions.php
CHANGED
@@ -54,6 +54,8 @@ class Moove_GDPR_Actions {
|
|
54 |
add_action( 'gdpr_cc_keephtml', array( &$this, 'gdpr_cc_keephtml' ), 10, 2 );
|
55 |
|
56 |
add_action( 'wp_footer', array( 'Moove_GDPR_Controller', 'moove_gdpr_cookie_popup_modal' ), 99 );
|
|
|
|
|
57 |
add_action( 'admin_init', array( 'Moove_GDPR_Controller', 'moove_gdpr_add_editor_styles' ) );
|
58 |
add_action( 'wp_footer', array( 'Moove_GDPR_Controller', 'moove_gdpr_cookie_popup_info' ) );
|
59 |
add_action( 'moove_gdpr_inline_styles', array( &$this, 'gdpr_custom_button_styles' ), 20, 3 );
|
54 |
add_action( 'gdpr_cc_keephtml', array( &$this, 'gdpr_cc_keephtml' ), 10, 2 );
|
55 |
|
56 |
add_action( 'wp_footer', array( 'Moove_GDPR_Controller', 'moove_gdpr_cookie_popup_modal' ), 99 );
|
57 |
+
add_action( 'wp_head', array( 'Moove_GDPR_Controller', 'moove_gdpr_cc_styles' ), 99 );
|
58 |
+
|
59 |
add_action( 'admin_init', array( 'Moove_GDPR_Controller', 'moove_gdpr_add_editor_styles' ) );
|
60 |
add_action( 'wp_footer', array( 'Moove_GDPR_Controller', 'moove_gdpr_cookie_popup_info' ) );
|
61 |
add_action( 'moove_gdpr_inline_styles', array( &$this, 'gdpr_custom_button_styles' ), 20, 3 );
|
controllers/class-moove-gdpr-controller.php
CHANGED
@@ -269,15 +269,22 @@ class Moove_GDPR_Controller {
|
|
269 |
}
|
270 |
|
271 |
/**
|
272 |
-
* GDPR
|
273 |
*
|
274 |
* @return void
|
275 |
*/
|
276 |
-
public static function
|
277 |
-
|
278 |
// CUSTOM CSS STYLED.
|
279 |
$content = gdpr_get_module( 'branding-styles' );
|
280 |
apply_filters( 'gdpr_cc_keephtml', $content, true );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
|
282 |
// FLOATING BUTTON.
|
283 |
$content = gdpr_get_module( 'floating-button' );
|
269 |
}
|
270 |
|
271 |
/**
|
272 |
+
* GDPR Styles added to head
|
273 |
*
|
274 |
* @return void
|
275 |
*/
|
276 |
+
public static function moove_gdpr_cc_styles() {
|
|
|
277 |
// CUSTOM CSS STYLED.
|
278 |
$content = gdpr_get_module( 'branding-styles' );
|
279 |
apply_filters( 'gdpr_cc_keephtml', $content, true );
|
280 |
+
}
|
281 |
+
|
282 |
+
/**
|
283 |
+
* GDPR Modal Main content
|
284 |
+
*
|
285 |
+
* @return void
|
286 |
+
*/
|
287 |
+
public static function moove_gdpr_cookie_popup_modal() {
|
288 |
|
289 |
// FLOATING BUTTON.
|
290 |
$content = gdpr_get_module( 'floating-button' );
|
gdpr-modules/branding-styles.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<style>
|
2 |
<?php
|
3 |
$primary_colour = $content->primary_colour;
|
4 |
$secondary_colour = $content->secondary_colour;
|
1 |
+
<style id="gdpr_cookie_compliance_inline_styles" type='text/css'>
|
2 |
<?php
|
3 |
$primary_colour = $content->primary_colour;
|
4 |
$secondary_colour = $content->secondary_colour;
|
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, PIPEDA, CCPA, AAP, LGPD and others.
|
7 |
-
* Version: 4.1.
|
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.1.
|
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, PIPEDA, CCPA, AAP, LGPD and others.
|
7 |
+
* Version: 4.1.3
|
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.1.3' );
|
22 |
if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
|
23 |
define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
|
24 |
endif;
|
readme.txt
CHANGED
@@ -203,6 +203,10 @@ The Brazilian General Data Protection Law (“Lei Geral de Proteção de Dados
|
|
203 |
32. GDPR Cookie Compliance - Admin - Language Specific Scripts [Premium]
|
204 |
|
205 |
== Changelog ==
|
|
|
|
|
|
|
|
|
206 |
= 4.1.2: January 8th, 2020 =
|
207 |
* Fixed database issue on MultiSite
|
208 |
* CSS fixes
|
203 |
32. GDPR Cookie Compliance - Admin - Language Specific Scripts [Premium]
|
204 |
|
205 |
== Changelog ==
|
206 |
+
|
207 |
+
= 4.1.3: January 15th, 2020 =
|
208 |
+
* Inline style fix
|
209 |
+
|
210 |
= 4.1.2: January 8th, 2020 =
|
211 |
* Fixed database issue on MultiSite
|
212 |
* CSS fixes
|