Version Description
Download this release
Release Info
Developer | MooveAgency |
Plugin | GDPR Cookie Compliance |
Version | 4.5.1 |
Comparing to | |
See all releases |
Code changes from version 4.5.0 to 4.5.1
- class-moove-gdpr-actions.php +2 -2
- moove-gdpr.php +2 -2
- readme.txt +5 -1
- views/moove/admin/settings/help.php +18 -0
class-moove-gdpr-actions.php
CHANGED
@@ -501,9 +501,9 @@ class Moove_GDPR_Actions {
|
|
501 |
public function moove_frontend_gdpr_scripts() {
|
502 |
$disable_main_assets = apply_filters( 'gdpr_disable_main_assets_enqueue', false );
|
503 |
if ( ! $disable_main_assets ) :
|
504 |
-
|
|
|
505 |
|
506 |
-
|
507 |
$gdpr_default_content = new Moove_GDPR_Content();
|
508 |
$option_name = $gdpr_default_content->moove_gdpr_get_option_name();
|
509 |
$modal_options = get_option( $option_name );
|
501 |
public function moove_frontend_gdpr_scripts() {
|
502 |
$disable_main_assets = apply_filters( 'gdpr_disable_main_assets_enqueue', false );
|
503 |
if ( ! $disable_main_assets ) :
|
504 |
+
$gdpr_deps = apply_filters( 'gdpr_main_script_depends_on', array('jquery') );
|
505 |
+
wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', $gdpr_deps, MOOVE_GDPR_VERSION, true );
|
506 |
|
|
|
507 |
$gdpr_default_content = new Moove_GDPR_Content();
|
508 |
$option_name = $gdpr_default_content->moove_gdpr_get_option_name();
|
509 |
$modal_options = get_option( $option_name );
|
moove-gdpr.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: GDPR Cookie Compliance (CCPA, PIPEDA ready)
|
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.5.
|
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.5.
|
22 |
if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
|
23 |
define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
|
24 |
endif;
|
4 |
* Plugin Name: GDPR Cookie Compliance (CCPA, PIPEDA ready)
|
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.5.1
|
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.5.1' );
|
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, compliance, cookie law, cookie consent
|
5 |
-
Stable tag: 4.5.
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6 or higher
|
@@ -263,6 +263,10 @@ The Brazilian General Data Protection Law (“Lei Geral de Proteção de Dados
|
|
263 |
39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
|
264 |
|
265 |
== Changelog ==
|
|
|
|
|
|
|
|
|
266 |
= 4.5.0: March 29, 2021 =
|
267 |
* CLS improvements
|
268 |
* Performance optimizations
|
2 |
Contributors: MooveAgency
|
3 |
Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
|
4 |
Tags: GDPR, CCPA, compliance, cookie law, cookie consent
|
5 |
+
Stable tag: 4.5.1
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6 or higher
|
263 |
39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
|
264 |
|
265 |
== Changelog ==
|
266 |
+
= 4.5.1: March 29, 2021 =
|
267 |
+
* jQuery dependency restored
|
268 |
+
* Extended help section with hook to remove jQuery dependency
|
269 |
+
|
270 |
= 4.5.0: March 29, 2021 =
|
271 |
* CLS improvements
|
272 |
* Performance optimizations
|
views/moove/admin/settings/help.php
CHANGED
@@ -460,6 +460,24 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
460 |
</div>
|
461 |
<!-- .gdpr-faq-toggle -->
|
462 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
<div class="gdpr-faq-toggle">
|
464 |
<div class="gdpr-faq-accordion-header">
|
465 |
<h3><?php esc_html_e( 'Define custom cookie attribute (SameSite)', 'gdpr-cookie-compliance' ); ?></h3>
|
460 |
</div>
|
461 |
<!-- .gdpr-faq-toggle -->
|
462 |
|
463 |
+
<div class="gdpr-faq-toggle">
|
464 |
+
<div class="gdpr-faq-accordion-header">
|
465 |
+
<h3><?php esc_html_e( 'Remove jQuery script dependency', 'gdpr-cookie-compliance' ); ?></h3>
|
466 |
+
</div>
|
467 |
+
<div class="gdpr-faq-accordion-content" >
|
468 |
+
<?php ob_start(); ?>
|
469 |
+
add_filter('gdpr_main_script_depends_on', 'gdpr_main_script_remove_jquery_deps');
|
470 |
+
function gdpr_main_script_remove_jquery_deps( $deps ) {
|
471 |
+
return array();
|
472 |
+
}
|
473 |
+
<?php $code = trim( ob_get_clean() ); ?>
|
474 |
+
<textarea id="<?php echo esc_attr( uniqid( strtotime( 'now' ) ) ); ?>"><?php apply_filters( 'gdpr_cc_keephtml', $code, true ); ?></textarea>
|
475 |
+
<div class="gdpr-code"></div><!-- .gdpr-code -->
|
476 |
+
</div>
|
477 |
+
<!-- .gdpr-faq-accordion-content -->
|
478 |
+
</div>
|
479 |
+
<!-- .gdpr-faq-toggle -->
|
480 |
+
|
481 |
<div class="gdpr-faq-toggle">
|
482 |
<div class="gdpr-faq-accordion-header">
|
483 |
<h3><?php esc_html_e( 'Define custom cookie attribute (SameSite)', 'gdpr-cookie-compliance' ); ?></h3>
|