Cookie Law / GDPR Info - Version 1.7.0

Version Description

  • Bug: Submenu sorting issue for custom user roles
Download this release

Release Info

Developer webtoffee
Plugin Icon Cookie Law / GDPR Info
Version 1.7.0
Comparing to
See all releases

Code changes from version 1.6.10 to 1.7.0

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === GDPR Cookie Consent ===
2
- Contributors: webtoffee, markwt
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.9.8
7
- Stable tag: 1.6.10
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -53,27 +53,26 @@ Features:
53
  <blockquote>
54
 
55
  = GDPR Cookie Consent Premium Version Features =
56
- <ul>
57
- <li>Manage list of cookies ( Name, CookieID, Description, Duration, Type, Category, Header Script, Footer Script).</li>
58
- <li>Manage Cookie Categories.</li>
59
- <li>Scan and auto block scripts - Google Analytics, FB Pixel, Google tag manager.</li>
60
- <li>Location based exclusion of cookie notice for EU countries.</li>
61
- <li>Provide the users with the granular control over the cookies/scipts used by the website.</li>
62
- <li>Optionally log users' consent and export into a CSV file.</li>
63
- <li>Customize the privacy overview in the cookie settings popup.</li>
64
- <li>Export/import cookies and related information via CSV file.</li>
65
- <li>Scan and import/export the cookies in the homepage.</li>
66
- <li>Allow to display cookie cettings popup where site visitors can opt-in or give consent to cookie categories.</li>
67
- <li>Customisable to look just like your own website’s style: customise the colours, styles and fonts.</li>
68
- <li>Put the cookie bar in either the header or the footer.</li>
69
- <li>(Optional) accept cookie policy if the user scrolls.</li>
70
- <li>(Optional) automatically close the cookie bar after a delay (delay is configurable).</li>
71
- <li>(Optional) cookie bar can be permanently dismissed or accessible through a “show again” tab.</li>
72
- <li>(Optional) “show again” tab is fully customisable including position shown on page and styles.</li>
73
- <li>“Cookie Audit” shortcode to construct a nicely-styled ‘Privacy & Cookie Policy’.</li>
74
- <li>WPML compatible</li>
75
- <li>qTranslate support</li>
76
- </ul>
77
 
78
  For complete list of features and details, Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/gdpr-cookie-consent/">GDPR Cookie Consent Premium Plugin</a> for more details
79
 
@@ -173,6 +172,9 @@ See http://cookielawinfo.com for more information on what is required.
173
 
174
  == Changelog ==
175
 
 
 
 
176
 
177
  = 1.6.10 =
178
 
@@ -336,7 +338,6 @@ See http://cookielawinfo.com for more information on what is required.
336
 
337
  == Upgrade Notice ==
338
 
339
- = 1.6.10 =
340
 
341
- * Bug: submenu sorting issue for non administrator accounts
342
- * Bug: Flashing the cookie bar on page load.
1
  === GDPR Cookie Consent ===
2
+ Contributors: webtoffee,markwt
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 4.9.8
7
+ Stable tag: 1.7.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
53
  <blockquote>
54
 
55
  = GDPR Cookie Consent Premium Version Features =
56
+ &#9989; Manage list of cookies ( Name, CookieID, Description, Duration, Type, Category, Header Script, Footer Script).
57
+ &#9989;Manage Cookie Categories.
58
+ &#9989;Scan and auto block scripts - Google Analytics, FB Pixel, Google tag manager.
59
+ &#9989;Location based exclusion of cookie notice for EU countries.
60
+ &#9989;Provide the users with the granular control over the cookies/scipts used by the website.
61
+ &#9989;Optionally log users' consent and export into a CSV file.
62
+ &#9989;Customize the privacy overview in the cookie settings popup.
63
+ &#9989;Export/import cookies and related information via CSV file.
64
+ &#9989;Scan and import/export the cookies
65
+ &#9989;Allow to display cookie cettings popup where site visitors can opt-in or give consent to cookie categories.
66
+ &#9989;Customisable to look just like your own website’s style: customise the colours, styles and fonts.
67
+ &#9989;Put the cookie bar in either the header or the footer.
68
+ &#9989;Cookie bar preview in admin settings
69
+ &#9989;(Optional) accept cookie policy if the user scrolls.
70
+ &#9989;(Optional) automatically close the cookie bar after a delay (delay is configurable).
71
+ &#9989;(Optional) cookie bar can be permanently dismissed or accessible through a “show again” tab.
72
+ &#9989;(Optional) “show again” tab is fully customisable including position shown on page and styles.
73
+ &#9989;“Cookie Audit” shortcode to construct a nicely-styled ‘Privacy & Cookie Policy’.
74
+ &#9989;WPML compatible
75
+ &#9989;qTranslate support
 
76
 
77
  For complete list of features and details, Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/gdpr-cookie-consent/">GDPR Cookie Consent Premium Plugin</a> for more details
78
 
172
 
173
  == Changelog ==
174
 
175
+ = 1.7.0 =
176
+
177
+ * Bug: Submenu sorting issue for custom user roles
178
 
179
  = 1.6.10 =
180
 
338
 
339
  == Upgrade Notice ==
340
 
341
+ = 1.7.0 =
342
 
343
+ * Bug: submenu sorting issue for custom user roles
 
admin/class-cookie-law-info-admin.php CHANGED
@@ -158,18 +158,21 @@ class Cookie_Law_Info_Admin {
158
  {
159
  $out=array();
160
  $back_up_settings_menu=array();
161
- foreach ($submenu['edit.php?post_type='.CLI_POST_TYPE] as $key => $value)
162
  {
163
- if($value[2]=='cookie-law-info')
164
  {
165
- $back_up_settings_menu=$value;
166
- }else
167
- {
168
- $out[$key]=$value;
 
 
 
169
  }
 
 
170
  }
171
- array_unshift($out,$back_up_settings_menu);
172
- $submenu['edit.php?post_type='.CLI_POST_TYPE]=$out;
173
  }
174
  }
175
 
158
  {
159
  $out=array();
160
  $back_up_settings_menu=array();
161
+ if(isset($submenu['edit.php?post_type='.CLI_POST_TYPE]) && is_array($submenu['edit.php?post_type='.CLI_POST_TYPE]))
162
  {
163
+ foreach ($submenu['edit.php?post_type='.CLI_POST_TYPE] as $key => $value)
164
  {
165
+ if($value[2]=='cookie-law-info')
166
+ {
167
+ $back_up_settings_menu=$value;
168
+ }else
169
+ {
170
+ $out[$key]=$value;
171
+ }
172
  }
173
+ array_unshift($out,$back_up_settings_menu);
174
+ $submenu['edit.php?post_type='.CLI_POST_TYPE]=$out;
175
  }
 
 
176
  }
177
  }
178
 
cookie-law-info.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
- * Version: 1.6.10
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
@@ -63,7 +63,7 @@ define ( 'CLI_POST_TYPE','cookielawinfo');
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
- define( 'CLI_VERSION', '1.6.10' );
67
 
68
 
69
  /**
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
+ * Version: 1.7.0
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
+ define( 'CLI_VERSION', '1.7.0' );
67
 
68
 
69
  /**
includes/class-cookie-law-info.php CHANGED
@@ -76,7 +76,7 @@ class Cookie_Law_Info {
76
  }
77
  else
78
  {
79
- $this->version = '1.6.10';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
76
  }
77
  else
78
  {
79
+ $this->version = '1.7.0';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82