Version Description
Download this release
Release Info
Developer | MooveAgency |
Plugin | GDPR Cookie Compliance |
Version | 4.7.4 |
Comparing to | |
See all releases |
Code changes from version 4.7.3 to 4.7.4
- class-moove-gdpr-content.php +1 -11
- controllers/class-moove-gdpr-controller.php +4 -2
- moove-gdpr.php +2 -2
- readme.txt +7 -2
- views/moove/admin/settings/advanced-cookies.php +1 -1
- views/moove/admin/settings/help.php +1 -1
- views/moove/admin/settings/plugin-boxes.php +1 -1
- views/moove/admin/settings/settings-page.php +5 -5
class-moove-gdpr-content.php
CHANGED
@@ -298,7 +298,7 @@ class Moove_GDPR_Content {
|
|
298 |
<hr />
|
299 |
<h4 style="margin-bottom: 0;"><?php esc_html_e( 'Renew your licence', 'gdpr-cookie-compliance' ); ?></h4>
|
300 |
<p><?php esc_html_e( 'Your licence has expired. You will not receive the latest updates and features unless you renew your licence.', 'gdpr-cookie-compliance' ); ?></p>
|
301 |
-
<a href="<?php echo esc_attr( MOOVE_SHOP_URL ); ?>?renew=<?php echo esc_attr( $response['key'] ); ?>" class="button button-primary">Renew Licence</a>
|
302 |
<br /><br />
|
303 |
<hr />
|
304 |
|
@@ -310,16 +310,6 @@ class Moove_GDPR_Content {
|
|
310 |
<input name="moove_gdpr_license_key" required min="35" type="text" id="moove_gdpr_license_key" value="" class="regular-text">
|
311 |
</td>
|
312 |
</tr>
|
313 |
-
<tr>
|
314 |
-
<th scope="row" style="padding: 0 0 10px 0;">
|
315 |
-
<label><?php esc_html_e( 'Enter licence key:', 'gdpr-cookie-compliance' ); ?></label>
|
316 |
-
</th>
|
317 |
-
</tr>
|
318 |
-
<tr>
|
319 |
-
<td style="padding: 0;">
|
320 |
-
<input name="moove_gdpr_license_key" required min="35" type="text" id="moove_gdpr_license_key" value="" class="regular-text">
|
321 |
-
</td>
|
322 |
-
</tr>
|
323 |
<?php
|
324 |
elseif ( 'activated' === $type || 'max_activation_reached' === $type ) :
|
325 |
// LICENSE ACTIVATED.
|
298 |
<hr />
|
299 |
<h4 style="margin-bottom: 0;"><?php esc_html_e( 'Renew your licence', 'gdpr-cookie-compliance' ); ?></h4>
|
300 |
<p><?php esc_html_e( 'Your licence has expired. You will not receive the latest updates and features unless you renew your licence.', 'gdpr-cookie-compliance' ); ?></p>
|
301 |
+
<a href="<?php echo esc_attr( MOOVE_SHOP_URL ); ?>?renew=<?php echo esc_attr( $response['key'] ); ?>" target="_blank" class="button button-primary">Renew Licence</a>
|
302 |
<br /><br />
|
303 |
<hr />
|
304 |
|
310 |
<input name="moove_gdpr_license_key" required min="35" type="text" id="moove_gdpr_license_key" value="" class="regular-text">
|
311 |
</td>
|
312 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
<?php
|
314 |
elseif ( 'activated' === $type || 'max_activation_reached' === $type ) :
|
315 |
// LICENSE ACTIVATED.
|
controllers/class-moove-gdpr-controller.php
CHANGED
@@ -542,7 +542,9 @@ class Moove_GDPR_Controller {
|
|
542 |
}
|
543 |
}
|
544 |
|
545 |
-
if ( isset( $_COOKIE ) && is_array( $_COOKIE )
|
|
|
|
|
546 |
$store_cookie_on_reject = apply_filters('gdpr_cc_store_cookie_on_reject', true);
|
547 |
foreach ( $_COOKIE as $key => $value ) {
|
548 |
if ( false === $strict && $key === 'moove_gdpr_popup' && !$store_cookie_on_reject ) :
|
@@ -589,7 +591,7 @@ class Moove_GDPR_Controller {
|
|
589 |
}
|
590 |
endif;
|
591 |
|
592 |
-
$cookies = explode( ';', sanitize_text_field( wp_unslash( $_SERVER['HTTP_COOKIE'] ) ) );
|
593 |
if ( is_array( $cookies ) ) :
|
594 |
foreach ( $cookies as $cookie ) {
|
595 |
$parts = explode( '=', $cookie );
|
542 |
}
|
543 |
}
|
544 |
|
545 |
+
if ( isset( $_COOKIE ) && is_array( $_COOKIE ) ) :
|
546 |
+
$urlparts = wp_parse_url( site_url( '/' ) );
|
547 |
+
$domain = preg_replace( '/www\./i', '', $urlparts['host'] );
|
548 |
$store_cookie_on_reject = apply_filters('gdpr_cc_store_cookie_on_reject', true);
|
549 |
foreach ( $_COOKIE as $key => $value ) {
|
550 |
if ( false === $strict && $key === 'moove_gdpr_popup' && !$store_cookie_on_reject ) :
|
591 |
}
|
592 |
endif;
|
593 |
|
594 |
+
$cookies = isset( $_SERVER['HTTP_COOKIE'] ) ? explode( ';', sanitize_text_field( wp_unslash( $_SERVER['HTTP_COOKIE'] ) ) ) : false;
|
595 |
if ( is_array( $cookies ) ) :
|
596 |
foreach ( $cookies as $cookie ) {
|
597 |
$parts = explode( '=', $cookie );
|
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.7.
|
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.7.
|
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.7.4
|
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.7.4' );
|
22 |
if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
|
23 |
define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
|
24 |
endif;
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: MooveAgency
|
3 |
Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
|
4 |
Tags: GDPR, CCPA, cookie banner, cookie law, cookie consent, cookie notice, dsgvo, rgpd
|
5 |
-
Stable tag: 4.7.
|
6 |
Requires at least: 4.5
|
7 |
-
Tested up to: 5.
|
8 |
Requires PHP: 5.6 or higher
|
9 |
License: GPLv3
|
10 |
|
@@ -273,6 +273,11 @@ The Brazilian General Data Protection Law (“Lei Geral de Proteção de Dados
|
|
273 |
39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
|
274 |
|
275 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
276 |
= 4.7.3: 20 January 2022 =
|
277 |
* Admin links colour improved
|
278 |
* GDPR elements excluded from Copyscape
|
2 |
Contributors: MooveAgency
|
3 |
Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
|
4 |
Tags: GDPR, CCPA, cookie banner, cookie law, cookie consent, cookie notice, dsgvo, rgpd
|
5 |
+
Stable tag: 4.7.4
|
6 |
Requires at least: 4.5
|
7 |
+
Tested up to: 5.9
|
8 |
Requires PHP: 5.6 or higher
|
9 |
License: GPLv3
|
10 |
|
273 |
39. GDPR Cookie Compliance - Front-end - Cookie Shortcode [Premium]
|
274 |
|
275 |
== Changelog ==
|
276 |
+
= 4.7.4: 3 February 2022 =
|
277 |
+
* Admin screen improvements
|
278 |
+
* PHP warnings fixed
|
279 |
+
* Minor fixes
|
280 |
+
|
281 |
= 4.7.3: 20 January 2022 =
|
282 |
* Admin links colour improved
|
283 |
* GDPR elements excluded from Copyscape
|
views/moove/admin/settings/advanced-cookies.php
CHANGED
@@ -68,7 +68,7 @@ endif;
|
|
68 |
?>
|
69 |
<h2><?php echo esc_attr( $nav_label ); ?></h2>
|
70 |
<hr />
|
71 |
-
<form action="?page=moove-gdpr&tab=advanced-cookies" method="post" id="moove_gdpr_tab_advanced_cookies">
|
72 |
<?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
|
73 |
<table class="form-table <?php echo $empty_scripts ? 'moove-gdpr-form-error' : ''; ?>">
|
74 |
<tbody>
|
68 |
?>
|
69 |
<h2><?php echo esc_attr( $nav_label ); ?></h2>
|
70 |
<hr />
|
71 |
+
<form action="<?php echo esc_url( admin_url( 'admin.php?page=moove-gdpr&tab=advanced-cookies' ) ); ?>" method="post" id="moove_gdpr_tab_advanced_cookies">
|
72 |
<?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
|
73 |
<table class="form-table <?php echo $empty_scripts ? 'moove-gdpr-form-error' : ''; ?>">
|
74 |
<tbody>
|
views/moove/admin/settings/help.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
} // Exit if accessed directly
|
13 |
|
14 |
?>
|
15 |
-
<h2><?php esc_html_e( '
|
16 |
<hr />
|
17 |
<ul class="gdpr-disable-posts-nav moove-clearfix">
|
18 |
<li></li>
|
12 |
} // Exit if accessed directly
|
13 |
|
14 |
?>
|
15 |
+
<h2><?php esc_html_e( 'Documentation', 'gdpr-cookie-compliance' ); ?></h2>
|
16 |
<hr />
|
17 |
<ul class="gdpr-disable-posts-nav moove-clearfix">
|
18 |
<li></li>
|
views/moove/admin/settings/plugin-boxes.php
CHANGED
@@ -60,7 +60,7 @@ $plugin_details = $gdpr_controller->get_gdpr_plugin_details( 'gdpr-cookie-compl
|
|
60 |
?>
|
61 |
<div class="gdpr-faq-forum-content">
|
62 |
<p><span class="gdpr-chevron-left">›</span> Check the <a href="<?php esc_url( admin_url( 'admin.php?page=moove-gdpr&tab=help' ) ); ?>">Help section</a> to find out more about Hooks, Filters & Shortcodes available</p>
|
63 |
-
<p><span class="gdpr-chevron-left">›</span> Find answers to your questions in
|
64 |
<p><span class="gdpr-chevron-left">›</span> Create a new support ticket or request a new features in our <a href="<?php echo esc_url( $forum_link ); ?>" target="_blank">Support Forum</a></p>
|
65 |
</div>
|
66 |
<!-- .gdpr-faq-forum-content -->
|
60 |
?>
|
61 |
<div class="gdpr-faq-forum-content">
|
62 |
<p><span class="gdpr-chevron-left">›</span> Check the <a href="<?php esc_url( admin_url( 'admin.php?page=moove-gdpr&tab=help' ) ); ?>">Help section</a> to find out more about Hooks, Filters & Shortcodes available</p>
|
63 |
+
<p><span class="gdpr-chevron-left">›</span> Find answers to your questions in our <a href="<?php echo esc_url( $faq_link ); ?>" target="_blank">Documentation</a></p>
|
64 |
<p><span class="gdpr-chevron-left">›</span> Create a new support ticket or request a new features in our <a href="<?php echo esc_url( $forum_link ); ?>" target="_blank">Support Forum</a></p>
|
65 |
</div>
|
66 |
<!-- .gdpr-faq-forum-content -->
|
views/moove/admin/settings/settings-page.php
CHANGED
@@ -13,10 +13,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
|
14 |
?>
|
15 |
<div class="gdpr-cookie-compliance-header-section">
|
16 |
-
<h2><?php esc_html_e( 'GDPR Cookie Compliance Plugin', 'gdpr-cookie-compliance' ); ?> <span class="gdpr-plugin-version"><?php echo 'v' . esc_attr( MOOVE_GDPR_VERSION ); ?></span></h2>
|
17 |
<h4>
|
18 |
<?php
|
19 |
-
$content = __( '
|
20 |
apply_filters( 'gdpr_cc_keephtml', $content, true );
|
21 |
?>
|
22 |
<br>
|
@@ -36,7 +36,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
36 |
|
37 |
<div id="moove-gdpr-setting-error-settings_scripts_empty" class="error settings-error notice is-dismissible gdpr-cc-notice" style="display:none;">
|
38 |
<p>
|
39 |
-
<strong><?php esc_html_e( 'You need to insert the relevant script for the settings to be saved
|
40 |
</p>
|
41 |
<button type="button" class="notice-dismiss">
|
42 |
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice.', 'gdpr-cookie-compliance' ); ?></span>
|
@@ -77,7 +77,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
77 |
<?php esc_html_e( 'Branding', 'gdpr-cookie-compliance' ); ?>
|
78 |
</a>
|
79 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=banner-settings' ) ); ?>" class="nav-tab <?php echo 'banner-settings' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
80 |
-
<?php esc_html_e( 'Banner Settings', 'gdpr-cookie-compliance' ); ?>
|
81 |
</a>
|
82 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=floating-button' ) ); ?>" class="nav-tab <?php echo 'floating-button' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
83 |
<?php esc_html_e( 'Floating Button', 'gdpr-cookie-compliance' ); ?>
|
@@ -120,7 +120,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
120 |
|
121 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=help' ) ); ?>" class="nav-tab nav-tab-dark <?php echo 'help' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
122 |
<span class="dashicons dashicons-editor-help"></span>
|
123 |
-
<?php esc_html_e( '
|
124 |
</a>
|
125 |
|
126 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=video-tutorial' ) ); ?>" class="nav-tab nav-tab-dark <?php echo 'video-tutorial' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
13 |
|
14 |
?>
|
15 |
<div class="gdpr-cookie-compliance-header-section">
|
16 |
+
<h2><?php esc_html_e( 'GDPR Cookie Compliance Plugin (CCPA ready)', 'gdpr-cookie-compliance' ); ?> <span class="gdpr-plugin-version"><?php echo 'v' . esc_attr( MOOVE_GDPR_VERSION ); ?></span></h2>
|
17 |
<h4>
|
18 |
<?php
|
19 |
+
$content = __( 'This plugin is useful in preparing your site for cookie compliance, data protection and privacy regulations.', 'gdpr-cookie-compliance' );
|
20 |
apply_filters( 'gdpr_cc_keephtml', $content, true );
|
21 |
?>
|
22 |
<br>
|
36 |
|
37 |
<div id="moove-gdpr-setting-error-settings_scripts_empty" class="error settings-error notice is-dismissible gdpr-cc-notice" style="display:none;">
|
38 |
<p>
|
39 |
+
<strong><?php esc_html_e( 'You need to insert the relevant script for the settings to be saved.', 'gdpr-cookie-compliance' ); ?></strong>
|
40 |
</p>
|
41 |
<button type="button" class="notice-dismiss">
|
42 |
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice.', 'gdpr-cookie-compliance' ); ?></span>
|
77 |
<?php esc_html_e( 'Branding', 'gdpr-cookie-compliance' ); ?>
|
78 |
</a>
|
79 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=banner-settings' ) ); ?>" class="nav-tab <?php echo 'banner-settings' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
80 |
+
<?php esc_html_e( 'Cookie Banner Settings', 'gdpr-cookie-compliance' ); ?>
|
81 |
</a>
|
82 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=floating-button' ) ); ?>" class="nav-tab <?php echo 'floating-button' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
83 |
<?php esc_html_e( 'Floating Button', 'gdpr-cookie-compliance' ); ?>
|
120 |
|
121 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=help' ) ); ?>" class="nav-tab nav-tab-dark <?php echo 'help' === $active_tab ? 'nav-tab-active' : ''; ?>">
|
122 |
<span class="dashicons dashicons-editor-help"></span>
|
123 |
+
<?php esc_html_e( 'Documentation', 'gdpr-cookie-compliance' ); ?>
|
124 |
</a>
|
125 |
|
126 |
<a href="<?php echo esc_attr( admin_url( 'admin.php?page=moove-gdpr&tab=video-tutorial' ) ); ?>" class="nav-tab nav-tab-dark <?php echo 'video-tutorial' === $active_tab ? 'nav-tab-active' : ''; ?>">
|