Version Description
- Bugfix
Download this release
Release Info
Developer | matteobarale |
Plugin | Ginger – EU Cookie Law |
Version | 4.1.8 |
Comparing to | |
See all releases |
Code changes from version 4.1.7 to 4.1.8
- admin/js/ginger.js +0 -0
- admin/partial/banner.php +0 -0
- admin/partial/general.php +0 -0
- admin/partial/policy.php +0 -0
- common/ginger.share.data.php +8 -4
- front/gingerfront.core.php +0 -0
- front/gingerfront.utils.php +0 -0
- ginger-eu-cookie-law.php +1 -1
- readme.txt +4 -1
admin/js/ginger.js
CHANGED
File without changes
|
admin/partial/banner.php
CHANGED
File without changes
|
admin/partial/general.php
CHANGED
File without changes
|
admin/partial/policy.php
CHANGED
File without changes
|
common/ginger.share.data.php
CHANGED
@@ -16,8 +16,12 @@ function ginger_share_data_activation() {
|
|
16 |
$rA = checkdnsrr($httpHost, "A");
|
17 |
$rCname = checkdnsrr($httpHost, "CNAME");
|
18 |
|
19 |
-
if (
|
20 |
-
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
}
|
23 |
// and make sure it's called whenever WordPress loads
|
@@ -44,7 +48,7 @@ add_filter('cron_schedules', 'ginger_cron_schedules');
|
|
44 |
|
45 |
function ginger_send_data()
|
46 |
{
|
47 |
-
|
48 |
$data_to_send = ginger_prepare_data();
|
49 |
$data_to_send = json_encode($data_to_send);
|
50 |
$x_auth = get_option('ginger_token');
|
@@ -69,7 +73,7 @@ function ginger_send_data()
|
|
69 |
curl_exec($ch);
|
70 |
}
|
71 |
}
|
72 |
-
add_action('
|
73 |
|
74 |
function ginger_prepare_data()
|
75 |
{
|
16 |
$rA = checkdnsrr($httpHost, "A");
|
17 |
$rCname = checkdnsrr($httpHost, "CNAME");
|
18 |
|
19 |
+
if (wp_next_scheduled('ginger_send_data_hook')){
|
20 |
+
wp_clear_scheduled_hook('ginger_send_data_hook');
|
21 |
+
}
|
22 |
+
|
23 |
+
if (!wp_next_scheduled('ginger_share_data_hook') && ($rA || $rCname)) {
|
24 |
+
wp_schedule_event(time(), 'ginger_weekly', 'ginger_share_data_hook');
|
25 |
}
|
26 |
}
|
27 |
// and make sure it's called whenever WordPress loads
|
48 |
|
49 |
function ginger_send_data()
|
50 |
{
|
51 |
+
|
52 |
$data_to_send = ginger_prepare_data();
|
53 |
$data_to_send = json_encode($data_to_send);
|
54 |
$x_auth = get_option('ginger_token');
|
73 |
curl_exec($ch);
|
74 |
}
|
75 |
}
|
76 |
+
add_action('ginger_share_data_hook', 'ginger_send_data');
|
77 |
|
78 |
function ginger_prepare_data()
|
79 |
{
|
front/gingerfront.core.php
CHANGED
File without changes
|
front/gingerfront.utils.php
CHANGED
File without changes
|
ginger-eu-cookie-law.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ginger - EU Cookie Law
|
4 |
Plugin URI: http://www.ginger-cookielaw.com/
|
5 |
Description: Make your website compliant with EU Cookie Policy and GDPR! Now totally free and unlocked
|
6 |
-
Version: 4.1.
|
7 |
Author: Manafactory
|
8 |
Author URI: http://manafactory.it/
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Ginger - EU Cookie Law
|
4 |
Plugin URI: http://www.ginger-cookielaw.com/
|
5 |
Description: Make your website compliant with EU Cookie Policy and GDPR! Now totally free and unlocked
|
6 |
+
Version: 4.1.8
|
7 |
Author: Manafactory
|
8 |
Author URI: http://manafactory.it/
|
9 |
License: GPLv2 or later
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ginger-cookielaw.com/
|
|
4 |
Tags: EU Cookie Law, GDPR, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.9.6
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -90,6 +90,9 @@ Yes, actually you we have 2 addons for multilanguages: wpml and polylang. Ask to
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
93 |
= 4.1.7 =
|
94 |
* added reset cookie shortcode
|
95 |
* added role access to settings page
|
4 |
Tags: EU Cookie Law, GDPR, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.9.6
|
7 |
+
Stable tag: 4.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 4.1.8 =
|
94 |
+
* Bugfix
|
95 |
+
|
96 |
= 4.1.7 =
|
97 |
* added reset cookie shortcode
|
98 |
* added role access to settings page
|