Version Description
- Fix: Cookies accepted function issue when Compliance activated
Download this release
Release Info
Developer | dfactory |
Plugin | Cookie Notice by dFactory |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- cookie-notice.php +12 -7
- includes/settings.php +244 -244
- readme.txt +6 -3
cookie-notice.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
|
4 |
Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
|
5 |
-
Version: 2.0.
|
6 |
Author: Hu-manity.co
|
7 |
Author URI: https://hu-manity.co/
|
8 |
Plugin URI: https://hu-manity.co/
|
@@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
29 |
* Cookie Notice class.
|
30 |
*
|
31 |
* @class Cookie_Notice
|
32 |
-
* @version 2.0.
|
33 |
*/
|
34 |
class Cookie_Notice {
|
35 |
|
@@ -85,7 +85,7 @@ class Cookie_Notice {
|
|
85 |
'update_notice' => true,
|
86 |
'update_delay_date' => 0
|
87 |
),
|
88 |
-
'version' => '2.0.
|
89 |
);
|
90 |
|
91 |
private static $_instance;
|
@@ -220,7 +220,11 @@ class Cookie_Notice {
|
|
220 |
if ( ! current_user_can( 'install_plugins' ) )
|
221 |
return;
|
222 |
|
223 |
-
|
|
|
|
|
|
|
|
|
224 |
|
225 |
// get current database version
|
226 |
$current_db_version = get_option( 'cookie_notice_version', '1.0.0' );
|
@@ -234,9 +238,10 @@ class Cookie_Notice {
|
|
234 |
// update plugin version
|
235 |
update_option( 'cookie_notice_version', $this->defaults['version'], false );
|
236 |
|
237 |
-
|
238 |
if ( empty( $this->status ) )
|
239 |
set_transient( 'cn_activation_redirect', 1 );
|
|
|
240 |
}
|
241 |
}
|
242 |
|
@@ -410,7 +415,7 @@ class Cookie_Notice {
|
|
410 |
*/
|
411 |
public static function cookies_accepted() {
|
412 |
if ( Cookie_Notice()->get_status() === 'active' ) {
|
413 |
-
$cookies = isset( $_COOKIE['hu-consent'] ) ? json_decode( $_COOKIE['hu-consent'], true ) : array();
|
414 |
|
415 |
$result = ! empty( $cookies['consent'] ) ? true : false;
|
416 |
} else {
|
@@ -461,7 +466,7 @@ class Cookie_Notice {
|
|
461 |
return $links;
|
462 |
|
463 |
if ( $file == plugin_basename( __FILE__ ) )
|
464 |
-
array_unshift( $links, sprintf( '<a href="%s">%s</a>', admin_url( '
|
465 |
|
466 |
return $links;
|
467 |
}
|
2 |
/*
|
3 |
Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
|
4 |
Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
|
5 |
+
Version: 2.0.3
|
6 |
Author: Hu-manity.co
|
7 |
Author URI: https://hu-manity.co/
|
8 |
Plugin URI: https://hu-manity.co/
|
29 |
* Cookie Notice class.
|
30 |
*
|
31 |
* @class Cookie_Notice
|
32 |
+
* @version 2.0.3
|
33 |
*/
|
34 |
class Cookie_Notice {
|
35 |
|
85 |
'update_notice' => true,
|
86 |
'update_delay_date' => 0
|
87 |
),
|
88 |
+
'version' => '2.0.3'
|
89 |
);
|
90 |
|
91 |
private static $_instance;
|
220 |
if ( ! current_user_can( 'install_plugins' ) )
|
221 |
return;
|
222 |
|
223 |
+
// bail an ajax
|
224 |
+
if ( defined( 'DOING_AJAX' ) && DOING_AJAX )
|
225 |
+
return;
|
226 |
+
|
227 |
+
$current_update = 4;
|
228 |
|
229 |
// get current database version
|
230 |
$current_db_version = get_option( 'cookie_notice_version', '1.0.0' );
|
238 |
// update plugin version
|
239 |
update_option( 'cookie_notice_version', $this->defaults['version'], false );
|
240 |
|
241 |
+
/* show welcome, if no compliance only
|
242 |
if ( empty( $this->status ) )
|
243 |
set_transient( 'cn_activation_redirect', 1 );
|
244 |
+
*/
|
245 |
}
|
246 |
}
|
247 |
|
415 |
*/
|
416 |
public static function cookies_accepted() {
|
417 |
if ( Cookie_Notice()->get_status() === 'active' ) {
|
418 |
+
$cookies = isset( $_COOKIE['hu-consent'] ) ? json_decode( stripslashes( $_COOKIE['hu-consent'] ), true ) : array();
|
419 |
|
420 |
$result = ! empty( $cookies['consent'] ) ? true : false;
|
421 |
} else {
|
466 |
return $links;
|
467 |
|
468 |
if ( $file == plugin_basename( __FILE__ ) )
|
469 |
+
array_unshift( $links, sprintf( '<a href="%s">%s</a>', esc_url( admin_url( 'admin.php?page=cookie-notice' ) ), __( 'Settings', 'cookie-notice' ) ) );
|
470 |
|
471 |
return $links;
|
472 |
}
|
includes/settings.php
CHANGED
@@ -118,250 +118,250 @@ class Cookie_Notice_Settings {
|
|
118 |
|
119 |
/*
|
120 |
$this->countries = array(
|
121 |
-
'AF' => __( 'Afghanistan', '
|
122 |
-
'AX' => __( 'Åland Islands', '
|
123 |
-
'AL' => __( 'Albania', '
|
124 |
-
'DZ' => __( 'Algeria', '
|
125 |
-
'AD' => __( 'Andorra', '
|
126 |
-
'AO' => __( 'Angola', '
|
127 |
-
'AI' => __( 'Anguilla', '
|
128 |
-
'AQ' => __( 'Antarctica', '
|
129 |
-
'AG' => __( 'Antigua and Barbuda', '
|
130 |
-
'AR' => __( 'Argentina', '
|
131 |
-
'AM' => __( 'Armenia', '
|
132 |
-
'AW' => __( 'Aruba', '
|
133 |
-
'AU' => __( 'Australia', '
|
134 |
-
'AT' => __( 'Austria', '
|
135 |
-
'AZ' => __( 'Azerbaijan', '
|
136 |
-
'BS' => __( 'Bahamas', '
|
137 |
-
'BH' => __( 'Bahrain', '
|
138 |
-
'BD' => __( 'Bangladesh', '
|
139 |
-
'BB' => __( 'Barbados', '
|
140 |
-
'BY' => __( 'Belarus', '
|
141 |
-
'BE' => __( 'Belgium', '
|
142 |
-
'PW' => __( 'Belau', '
|
143 |
-
'BZ' => __( 'Belize', '
|
144 |
-
'BJ' => __( 'Benin', '
|
145 |
-
'BM' => __( 'Bermuda', '
|
146 |
-
'BT' => __( 'Bhutan', '
|
147 |
-
'BO' => __( 'Bolivia', '
|
148 |
-
'BQ' => __( 'Bonaire, Saint Eustatius and Saba', '
|
149 |
-
'BA' => __( 'Bosnia and Herzegovina', '
|
150 |
-
'BW' => __( 'Botswana', '
|
151 |
-
'BV' => __( 'Bouvet Island', '
|
152 |
-
'BR' => __( 'Brazil', '
|
153 |
-
'IO' => __( 'British Indian Ocean Territory', '
|
154 |
-
'VG' => __( 'British Virgin Islands', '
|
155 |
-
'BN' => __( 'Brunei', '
|
156 |
-
'BG' => __( 'Bulgaria', '
|
157 |
-
'BF' => __( 'Burkina Faso', '
|
158 |
-
'BI' => __( 'Burundi', '
|
159 |
-
'KH' => __( 'Cambodia', '
|
160 |
-
'CM' => __( 'Cameroon', '
|
161 |
-
'CA' => __( 'Canada', '
|
162 |
-
'CV' => __( 'Cape Verde', '
|
163 |
-
'KY' => __( 'Cayman Islands', '
|
164 |
-
'CF' => __( 'Central African Republic', '
|
165 |
-
'TD' => __( 'Chad', '
|
166 |
-
'CL' => __( 'Chile', '
|
167 |
-
'CN' => __( 'China', '
|
168 |
-
'CX' => __( 'Christmas Island', '
|
169 |
-
'CC' => __( 'Cocos (Keeling) Islands', '
|
170 |
-
'CO' => __( 'Colombia', '
|
171 |
-
'KM' => __( 'Comoros', '
|
172 |
-
'CG' => __( 'Congo (Brazzaville)', '
|
173 |
-
'CD' => __( 'Congo (Kinshasa)', '
|
174 |
-
'CK' => __( 'Cook Islands', '
|
175 |
-
'CR' => __( 'Costa Rica', '
|
176 |
-
'HR' => __( 'Croatia', '
|
177 |
-
'CU' => __( 'Cuba', '
|
178 |
-
'CW' => __( 'CuraÇao', '
|
179 |
-
'CY' => __( 'Cyprus', '
|
180 |
-
'CZ' => __( 'Czech Republic', '
|
181 |
-
'DK' => __( 'Denmark', '
|
182 |
-
'DJ' => __( 'Djibouti', '
|
183 |
-
'DM' => __( 'Dominica', '
|
184 |
-
'DO' => __( 'Dominican Republic', '
|
185 |
-
'EC' => __( 'Ecuador', '
|
186 |
-
'EG' => __( 'Egypt', '
|
187 |
-
'SV' => __( 'El Salvador', '
|
188 |
-
'GQ' => __( 'Equatorial Guinea', '
|
189 |
-
'ER' => __( 'Eritrea', '
|
190 |
-
'EE' => __( 'Estonia', '
|
191 |
-
'ET' => __( 'Ethiopia', '
|
192 |
-
'FK' => __( 'Falkland Islands', '
|
193 |
-
'FO' => __( 'Faroe Islands', '
|
194 |
-
'FJ' => __( 'Fiji', '
|
195 |
-
'FI' => __( 'Finland', '
|
196 |
-
'FR' => __( 'France', '
|
197 |
-
'GF' => __( 'French Guiana', '
|
198 |
-
'PF' => __( 'French Polynesia', '
|
199 |
-
'TF' => __( 'French Southern Territories', '
|
200 |
-
'GA' => __( 'Gabon', '
|
201 |
-
'GM' => __( 'Gambia', '
|
202 |
-
'GE' => __( 'Georgia', '
|
203 |
-
'DE' => __( 'Germany', '
|
204 |
-
'GH' => __( 'Ghana', '
|
205 |
-
'GI' => __( 'Gibraltar', '
|
206 |
-
'GR' => __( 'Greece', '
|
207 |
-
'GL' => __( 'Greenland', '
|
208 |
-
'GD' => __( 'Grenada', '
|
209 |
-
'GP' => __( 'Guadeloupe', '
|
210 |
-
'GT' => __( 'Guatemala', '
|
211 |
-
'GG' => __( 'Guernsey', '
|
212 |
-
'GN' => __( 'Guinea', '
|
213 |
-
'GW' => __( 'Guinea-Bissau', '
|
214 |
-
'GY' => __( 'Guyana', '
|
215 |
-
'HT' => __( 'Haiti', '
|
216 |
-
'HM' => __( 'Heard Island and McDonald Islands', '
|
217 |
-
'HN' => __( 'Honduras', '
|
218 |
-
'HK' => __( 'Hong Kong', '
|
219 |
-
'HU' => __( 'Hungary', '
|
220 |
-
'IS' => __( 'Iceland', '
|
221 |
-
'IN' => __( 'India', '
|
222 |
-
'ID' => __( 'Indonesia', '
|
223 |
-
'IR' => __( 'Iran', '
|
224 |
-
'IQ' => __( 'Iraq', '
|
225 |
-
'IE' => __( 'Republic of Ireland', '
|
226 |
-
'IM' => __( 'Isle of Man', '
|
227 |
-
'IL' => __( 'Israel', '
|
228 |
-
'IT' => __( 'Italy', '
|
229 |
-
'CI' => __( 'Ivory Coast', '
|
230 |
-
'JM' => __( 'Jamaica', '
|
231 |
-
'JP' => __( 'Japan', '
|
232 |
-
'JE' => __( 'Jersey', '
|
233 |
-
'JO' => __( 'Jordan', '
|
234 |
-
'KZ' => __( 'Kazakhstan', '
|
235 |
-
'KE' => __( 'Kenya', '
|
236 |
-
'KI' => __( 'Kiribati', '
|
237 |
-
'KW' => __( 'Kuwait', '
|
238 |
-
'KG' => __( 'Kyrgyzstan', '
|
239 |
-
'LA' => __( 'Laos', '
|
240 |
-
'LV' => __( 'Latvia', '
|
241 |
-
'LB' => __( 'Lebanon', '
|
242 |
-
'LS' => __( 'Lesotho', '
|
243 |
-
'LR' => __( 'Liberia', '
|
244 |
-
'LY' => __( 'Libya', '
|
245 |
-
'LI' => __( 'Liechtenstein', '
|
246 |
-
'LT' => __( 'Lithuania', '
|
247 |
-
'LU' => __( 'Luxembourg', '
|
248 |
-
'MO' => __( 'Macao S.A.R., China', '
|
249 |
-
'MK' => __( 'Macedonia', '
|
250 |
-
'MG' => __( 'Madagascar', '
|
251 |
-
'MW' => __( 'Malawi', '
|
252 |
-
'MY' => __( 'Malaysia', '
|
253 |
-
'MV' => __( 'Maldives', '
|
254 |
-
'ML' => __( 'Mali', '
|
255 |
-
'MT' => __( 'Malta', '
|
256 |
-
'MH' => __( 'Marshall Islands', '
|
257 |
-
'MQ' => __( 'Martinique', '
|
258 |
-
'MR' => __( 'Mauritania', '
|
259 |
-
'MU' => __( 'Mauritius', '
|
260 |
-
'YT' => __( 'Mayotte', '
|
261 |
-
'MX' => __( 'Mexico', '
|
262 |
-
'FM' => __( 'Micronesia', '
|
263 |
-
'MD' => __( 'Moldova', '
|
264 |
-
'MC' => __( 'Monaco', '
|
265 |
-
'MN' => __( 'Mongolia', '
|
266 |
-
'ME' => __( 'Montenegro', '
|
267 |
-
'MS' => __( 'Montserrat', '
|
268 |
-
'MA' => __( 'Morocco', '
|
269 |
-
'MZ' => __( 'Mozambique', '
|
270 |
-
'MM' => __( 'Myanmar', '
|
271 |
-
'NA' => __( 'Namibia', '
|
272 |
-
'NR' => __( 'Nauru', '
|
273 |
-
'NP' => __( 'Nepal', '
|
274 |
-
'NL' => __( 'Netherlands', '
|
275 |
-
'AN' => __( 'Netherlands Antilles', '
|
276 |
-
'NC' => __( 'New Caledonia', '
|
277 |
-
'NZ' => __( 'New Zealand', '
|
278 |
-
'NI' => __( 'Nicaragua', '
|
279 |
-
'NE' => __( 'Niger', '
|
280 |
-
'NG' => __( 'Nigeria', '
|
281 |
-
'NU' => __( 'Niue', '
|
282 |
-
'NF' => __( 'Norfolk Island', '
|
283 |
-
'KP' => __( 'North Korea', '
|
284 |
-
'NO' => __( 'Norway', '
|
285 |
-
'OM' => __( 'Oman', '
|
286 |
-
'PK' => __( 'Pakistan', '
|
287 |
-
'PS' => __( 'Palestinian Territory', '
|
288 |
-
'PA' => __( 'Panama', '
|
289 |
-
'PG' => __( 'Papua New Guinea', '
|
290 |
-
'PY' => __( 'Paraguay', '
|
291 |
-
'PE' => __( 'Peru', '
|
292 |
-
'PH' => __( 'Philippines', '
|
293 |
-
'PN' => __( 'Pitcairn', '
|
294 |
-
'PL' => __( 'Poland', '
|
295 |
-
'PT' => __( 'Portugal', '
|
296 |
-
'QA' => __( 'Qatar', '
|
297 |
-
'RE' => __( 'Reunion', '
|
298 |
-
'RO' => __( 'Romania', '
|
299 |
-
'RU' => __( 'Russia', '
|
300 |
-
'RW' => __( 'Rwanda', '
|
301 |
-
'BL' => __( 'Saint Barthélemy', '
|
302 |
-
'SH' => __( 'Saint Helena', '
|
303 |
-
'KN' => __( 'Saint Kitts and Nevis', '
|
304 |
-
'LC' => __( 'Saint Lucia', '
|
305 |
-
'MF' => __( 'Saint Martin (French part)', '
|
306 |
-
'SX' => __( 'Saint Martin (Dutch part)', '
|
307 |
-
'PM' => __( 'Saint Pierre and Miquelon', '
|
308 |
-
'VC' => __( 'Saint Vincent and the Grenadines', '
|
309 |
-
'SM' => __( 'San Marino', '
|
310 |
-
'ST' => __( 'São Tomé and Príncipe', '
|
311 |
-
'SA' => __( 'Saudi Arabia', '
|
312 |
-
'SN' => __( 'Senegal', '
|
313 |
-
'RS' => __( 'Serbia', '
|
314 |
-
'SC' => __( 'Seychelles', '
|
315 |
-
'SL' => __( 'Sierra Leone', '
|
316 |
-
'SG' => __( 'Singapore', '
|
317 |
-
'SK' => __( 'Slovakia', '
|
318 |
-
'SI' => __( 'Slovenia', '
|
319 |
-
'SB' => __( 'Solomon Islands', '
|
320 |
-
'SO' => __( 'Somalia', '
|
321 |
-
'ZA' => __( 'South Africa', '
|
322 |
-
'GS' => __( 'South Georgia/Sandwich Islands', '
|
323 |
-
'KR' => __( 'South Korea', '
|
324 |
-
'SS' => __( 'South Sudan', '
|
325 |
-
'ES' => __( 'Spain', '
|
326 |
-
'LK' => __( 'Sri Lanka', '
|
327 |
-
'SD' => __( 'Sudan', '
|
328 |
-
'SR' => __( 'Suriname', '
|
329 |
-
'SJ' => __( 'Svalbard and Jan Mayen', '
|
330 |
-
'SZ' => __( 'Swaziland', '
|
331 |
-
'SE' => __( 'Sweden', '
|
332 |
-
'CH' => __( 'Switzerland', '
|
333 |
-
'SY' => __( 'Syria', '
|
334 |
-
'TW' => __( 'Taiwan', '
|
335 |
-
'TJ' => __( 'Tajikistan', '
|
336 |
-
'TZ' => __( 'Tanzania', '
|
337 |
-
'TH' => __( 'Thailand', '
|
338 |
-
'TL' => __( 'Timor-Leste', '
|
339 |
-
'TG' => __( 'Togo', '
|
340 |
-
'TK' => __( 'Tokelau', '
|
341 |
-
'TO' => __( 'Tonga', '
|
342 |
-
'TT' => __( 'Trinidad and Tobago', '
|
343 |
-
'TN' => __( 'Tunisia', '
|
344 |
-
'TR' => __( 'Turkey', '
|
345 |
-
'TM' => __( 'Turkmenistan', '
|
346 |
-
'TC' => __( 'Turks and Caicos Islands', '
|
347 |
-
'TV' => __( 'Tuvalu', '
|
348 |
-
'UG' => __( 'Uganda', '
|
349 |
-
'UA' => __( 'Ukraine', '
|
350 |
-
'AE' => __( 'United Arab Emirates', '
|
351 |
-
'GB' => __( 'United Kingdom', '
|
352 |
-
'US' => __( 'United States', '
|
353 |
-
'UY' => __( 'Uruguay', '
|
354 |
-
'UZ' => __( 'Uzbekistan', '
|
355 |
-
'VU' => __( 'Vanuatu', '
|
356 |
-
'VA' => __( 'Vatican', '
|
357 |
-
'VE' => __( 'Venezuela', '
|
358 |
-
'VN' => __( 'Vietnam', '
|
359 |
-
'WF' => __( 'Wallis and Futuna', '
|
360 |
-
'EH' => __( 'Western Sahara', '
|
361 |
-
'WS' => __( 'Western Samoa', '
|
362 |
-
'YE' => __( 'Yemen', '
|
363 |
-
'ZM' => __( 'Zambia', '
|
364 |
-
'ZW' => __( 'Zimbabwe', '
|
365 |
);
|
366 |
*/
|
367 |
|
118 |
|
119 |
/*
|
120 |
$this->countries = array(
|
121 |
+
'AF' => __( 'Afghanistan', 'cookie-notice' ),
|
122 |
+
'AX' => __( 'Åland Islands', 'cookie-notice' ),
|
123 |
+
'AL' => __( 'Albania', 'cookie-notice' ),
|
124 |
+
'DZ' => __( 'Algeria', 'cookie-notice' ),
|
125 |
+
'AD' => __( 'Andorra', 'cookie-notice' ),
|
126 |
+
'AO' => __( 'Angola', 'cookie-notice' ),
|
127 |
+
'AI' => __( 'Anguilla', 'cookie-notice' ),
|
128 |
+
'AQ' => __( 'Antarctica', 'cookie-notice' ),
|
129 |
+
'AG' => __( 'Antigua and Barbuda', 'cookie-notice' ),
|
130 |
+
'AR' => __( 'Argentina', 'cookie-notice' ),
|
131 |
+
'AM' => __( 'Armenia', 'cookie-notice' ),
|
132 |
+
'AW' => __( 'Aruba', 'cookie-notice' ),
|
133 |
+
'AU' => __( 'Australia', 'cookie-notice' ),
|
134 |
+
'AT' => __( 'Austria', 'cookie-notice' ),
|
135 |
+
'AZ' => __( 'Azerbaijan', 'cookie-notice' ),
|
136 |
+
'BS' => __( 'Bahamas', 'cookie-notice' ),
|
137 |
+
'BH' => __( 'Bahrain', 'cookie-notice' ),
|
138 |
+
'BD' => __( 'Bangladesh', 'cookie-notice' ),
|
139 |
+
'BB' => __( 'Barbados', 'cookie-notice' ),
|
140 |
+
'BY' => __( 'Belarus', 'cookie-notice' ),
|
141 |
+
'BE' => __( 'Belgium', 'cookie-notice' ),
|
142 |
+
'PW' => __( 'Belau', 'cookie-notice' ),
|
143 |
+
'BZ' => __( 'Belize', 'cookie-notice' ),
|
144 |
+
'BJ' => __( 'Benin', 'cookie-notice' ),
|
145 |
+
'BM' => __( 'Bermuda', 'cookie-notice' ),
|
146 |
+
'BT' => __( 'Bhutan', 'cookie-notice' ),
|
147 |
+
'BO' => __( 'Bolivia', 'cookie-notice' ),
|
148 |
+
'BQ' => __( 'Bonaire, Saint Eustatius and Saba', 'cookie-notice' ),
|
149 |
+
'BA' => __( 'Bosnia and Herzegovina', 'cookie-notice' ),
|
150 |
+
'BW' => __( 'Botswana', 'cookie-notice' ),
|
151 |
+
'BV' => __( 'Bouvet Island', 'cookie-notice' ),
|
152 |
+
'BR' => __( 'Brazil', 'cookie-notice' ),
|
153 |
+
'IO' => __( 'British Indian Ocean Territory', 'cookie-notice' ),
|
154 |
+
'VG' => __( 'British Virgin Islands', 'cookie-notice' ),
|
155 |
+
'BN' => __( 'Brunei', 'cookie-notice' ),
|
156 |
+
'BG' => __( 'Bulgaria', 'cookie-notice' ),
|
157 |
+
'BF' => __( 'Burkina Faso', 'cookie-notice' ),
|
158 |
+
'BI' => __( 'Burundi', 'cookie-notice' ),
|
159 |
+
'KH' => __( 'Cambodia', 'cookie-notice' ),
|
160 |
+
'CM' => __( 'Cameroon', 'cookie-notice' ),
|
161 |
+
'CA' => __( 'Canada', 'cookie-notice' ),
|
162 |
+
'CV' => __( 'Cape Verde', 'cookie-notice' ),
|
163 |
+
'KY' => __( 'Cayman Islands', 'cookie-notice' ),
|
164 |
+
'CF' => __( 'Central African Republic', 'cookie-notice' ),
|
165 |
+
'TD' => __( 'Chad', 'cookie-notice' ),
|
166 |
+
'CL' => __( 'Chile', 'cookie-notice' ),
|
167 |
+
'CN' => __( 'China', 'cookie-notice' ),
|
168 |
+
'CX' => __( 'Christmas Island', 'cookie-notice' ),
|
169 |
+
'CC' => __( 'Cocos (Keeling) Islands', 'cookie-notice' ),
|
170 |
+
'CO' => __( 'Colombia', 'cookie-notice' ),
|
171 |
+
'KM' => __( 'Comoros', 'cookie-notice' ),
|
172 |
+
'CG' => __( 'Congo (Brazzaville)', 'cookie-notice' ),
|
173 |
+
'CD' => __( 'Congo (Kinshasa)', 'cookie-notice' ),
|
174 |
+
'CK' => __( 'Cook Islands', 'cookie-notice' ),
|
175 |
+
'CR' => __( 'Costa Rica', 'cookie-notice' ),
|
176 |
+
'HR' => __( 'Croatia', 'cookie-notice' ),
|
177 |
+
'CU' => __( 'Cuba', 'cookie-notice' ),
|
178 |
+
'CW' => __( 'CuraÇao', 'cookie-notice' ),
|
179 |
+
'CY' => __( 'Cyprus', 'cookie-notice' ),
|
180 |
+
'CZ' => __( 'Czech Republic', 'cookie-notice' ),
|
181 |
+
'DK' => __( 'Denmark', 'cookie-notice' ),
|
182 |
+
'DJ' => __( 'Djibouti', 'cookie-notice' ),
|
183 |
+
'DM' => __( 'Dominica', 'cookie-notice' ),
|
184 |
+
'DO' => __( 'Dominican Republic', 'cookie-notice' ),
|
185 |
+
'EC' => __( 'Ecuador', 'cookie-notice' ),
|
186 |
+
'EG' => __( 'Egypt', 'cookie-notice' ),
|
187 |
+
'SV' => __( 'El Salvador', 'cookie-notice' ),
|
188 |
+
'GQ' => __( 'Equatorial Guinea', 'cookie-notice' ),
|
189 |
+
'ER' => __( 'Eritrea', 'cookie-notice' ),
|
190 |
+
'EE' => __( 'Estonia', 'cookie-notice' ),
|
191 |
+
'ET' => __( 'Ethiopia', 'cookie-notice' ),
|
192 |
+
'FK' => __( 'Falkland Islands', 'cookie-notice' ),
|
193 |
+
'FO' => __( 'Faroe Islands', 'cookie-notice' ),
|
194 |
+
'FJ' => __( 'Fiji', 'cookie-notice' ),
|
195 |
+
'FI' => __( 'Finland', 'cookie-notice' ),
|
196 |
+
'FR' => __( 'France', 'cookie-notice' ),
|
197 |
+
'GF' => __( 'French Guiana', 'cookie-notice' ),
|
198 |
+
'PF' => __( 'French Polynesia', 'cookie-notice' ),
|
199 |
+
'TF' => __( 'French Southern Territories', 'cookie-notice' ),
|
200 |
+
'GA' => __( 'Gabon', 'cookie-notice' ),
|
201 |
+
'GM' => __( 'Gambia', 'cookie-notice' ),
|
202 |
+
'GE' => __( 'Georgia', 'cookie-notice' ),
|
203 |
+
'DE' => __( 'Germany', 'cookie-notice' ),
|
204 |
+
'GH' => __( 'Ghana', 'cookie-notice' ),
|
205 |
+
'GI' => __( 'Gibraltar', 'cookie-notice' ),
|
206 |
+
'GR' => __( 'Greece', 'cookie-notice' ),
|
207 |
+
'GL' => __( 'Greenland', 'cookie-notice' ),
|
208 |
+
'GD' => __( 'Grenada', 'cookie-notice' ),
|
209 |
+
'GP' => __( 'Guadeloupe', 'cookie-notice' ),
|
210 |
+
'GT' => __( 'Guatemala', 'cookie-notice' ),
|
211 |
+
'GG' => __( 'Guernsey', 'cookie-notice' ),
|
212 |
+
'GN' => __( 'Guinea', 'cookie-notice' ),
|
213 |
+
'GW' => __( 'Guinea-Bissau', 'cookie-notice' ),
|
214 |
+
'GY' => __( 'Guyana', 'cookie-notice' ),
|
215 |
+
'HT' => __( 'Haiti', 'cookie-notice' ),
|
216 |
+
'HM' => __( 'Heard Island and McDonald Islands', 'cookie-notice' ),
|
217 |
+
'HN' => __( 'Honduras', 'cookie-notice' ),
|
218 |
+
'HK' => __( 'Hong Kong', 'cookie-notice' ),
|
219 |
+
'HU' => __( 'Hungary', 'cookie-notice' ),
|
220 |
+
'IS' => __( 'Iceland', 'cookie-notice' ),
|
221 |
+
'IN' => __( 'India', 'cookie-notice' ),
|
222 |
+
'ID' => __( 'Indonesia', 'cookie-notice' ),
|
223 |
+
'IR' => __( 'Iran', 'cookie-notice' ),
|
224 |
+
'IQ' => __( 'Iraq', 'cookie-notice' ),
|
225 |
+
'IE' => __( 'Republic of Ireland', 'cookie-notice' ),
|
226 |
+
'IM' => __( 'Isle of Man', 'cookie-notice' ),
|
227 |
+
'IL' => __( 'Israel', 'cookie-notice' ),
|
228 |
+
'IT' => __( 'Italy', 'cookie-notice' ),
|
229 |
+
'CI' => __( 'Ivory Coast', 'cookie-notice' ),
|
230 |
+
'JM' => __( 'Jamaica', 'cookie-notice' ),
|
231 |
+
'JP' => __( 'Japan', 'cookie-notice' ),
|
232 |
+
'JE' => __( 'Jersey', 'cookie-notice' ),
|
233 |
+
'JO' => __( 'Jordan', 'cookie-notice' ),
|
234 |
+
'KZ' => __( 'Kazakhstan', 'cookie-notice' ),
|
235 |
+
'KE' => __( 'Kenya', 'cookie-notice' ),
|
236 |
+
'KI' => __( 'Kiribati', 'cookie-notice' ),
|
237 |
+
'KW' => __( 'Kuwait', 'cookie-notice' ),
|
238 |
+
'KG' => __( 'Kyrgyzstan', 'cookie-notice' ),
|
239 |
+
'LA' => __( 'Laos', 'cookie-notice' ),
|
240 |
+
'LV' => __( 'Latvia', 'cookie-notice' ),
|
241 |
+
'LB' => __( 'Lebanon', 'cookie-notice' ),
|
242 |
+
'LS' => __( 'Lesotho', 'cookie-notice' ),
|
243 |
+
'LR' => __( 'Liberia', 'cookie-notice' ),
|
244 |
+
'LY' => __( 'Libya', 'cookie-notice' ),
|
245 |
+
'LI' => __( 'Liechtenstein', 'cookie-notice' ),
|
246 |
+
'LT' => __( 'Lithuania', 'cookie-notice' ),
|
247 |
+
'LU' => __( 'Luxembourg', 'cookie-notice' ),
|
248 |
+
'MO' => __( 'Macao S.A.R., China', 'cookie-notice' ),
|
249 |
+
'MK' => __( 'Macedonia', 'cookie-notice' ),
|
250 |
+
'MG' => __( 'Madagascar', 'cookie-notice' ),
|
251 |
+
'MW' => __( 'Malawi', 'cookie-notice' ),
|
252 |
+
'MY' => __( 'Malaysia', 'cookie-notice' ),
|
253 |
+
'MV' => __( 'Maldives', 'cookie-notice' ),
|
254 |
+
'ML' => __( 'Mali', 'cookie-notice' ),
|
255 |
+
'MT' => __( 'Malta', 'cookie-notice' ),
|
256 |
+
'MH' => __( 'Marshall Islands', 'cookie-notice' ),
|
257 |
+
'MQ' => __( 'Martinique', 'cookie-notice' ),
|
258 |
+
'MR' => __( 'Mauritania', 'cookie-notice' ),
|
259 |
+
'MU' => __( 'Mauritius', 'cookie-notice' ),
|
260 |
+
'YT' => __( 'Mayotte', 'cookie-notice' ),
|
261 |
+
'MX' => __( 'Mexico', 'cookie-notice' ),
|
262 |
+
'FM' => __( 'Micronesia', 'cookie-notice' ),
|
263 |
+
'MD' => __( 'Moldova', 'cookie-notice' ),
|
264 |
+
'MC' => __( 'Monaco', 'cookie-notice' ),
|
265 |
+
'MN' => __( 'Mongolia', 'cookie-notice' ),
|
266 |
+
'ME' => __( 'Montenegro', 'cookie-notice' ),
|
267 |
+
'MS' => __( 'Montserrat', 'cookie-notice' ),
|
268 |
+
'MA' => __( 'Morocco', 'cookie-notice' ),
|
269 |
+
'MZ' => __( 'Mozambique', 'cookie-notice' ),
|
270 |
+
'MM' => __( 'Myanmar', 'cookie-notice' ),
|
271 |
+
'NA' => __( 'Namibia', 'cookie-notice' ),
|
272 |
+
'NR' => __( 'Nauru', 'cookie-notice' ),
|
273 |
+
'NP' => __( 'Nepal', 'cookie-notice' ),
|
274 |
+
'NL' => __( 'Netherlands', 'cookie-notice' ),
|
275 |
+
'AN' => __( 'Netherlands Antilles', 'cookie-notice' ),
|
276 |
+
'NC' => __( 'New Caledonia', 'cookie-notice' ),
|
277 |
+
'NZ' => __( 'New Zealand', 'cookie-notice' ),
|
278 |
+
'NI' => __( 'Nicaragua', 'cookie-notice' ),
|
279 |
+
'NE' => __( 'Niger', 'cookie-notice' ),
|
280 |
+
'NG' => __( 'Nigeria', 'cookie-notice' ),
|
281 |
+
'NU' => __( 'Niue', 'cookie-notice' ),
|
282 |
+
'NF' => __( 'Norfolk Island', 'cookie-notice' ),
|
283 |
+
'KP' => __( 'North Korea', 'cookie-notice' ),
|
284 |
+
'NO' => __( 'Norway', 'cookie-notice' ),
|
285 |
+
'OM' => __( 'Oman', 'cookie-notice' ),
|
286 |
+
'PK' => __( 'Pakistan', 'cookie-notice' ),
|
287 |
+
'PS' => __( 'Palestinian Territory', 'cookie-notice' ),
|
288 |
+
'PA' => __( 'Panama', 'cookie-notice' ),
|
289 |
+
'PG' => __( 'Papua New Guinea', 'cookie-notice' ),
|
290 |
+
'PY' => __( 'Paraguay', 'cookie-notice' ),
|
291 |
+
'PE' => __( 'Peru', 'cookie-notice' ),
|
292 |
+
'PH' => __( 'Philippines', 'cookie-notice' ),
|
293 |
+
'PN' => __( 'Pitcairn', 'cookie-notice' ),
|
294 |
+
'PL' => __( 'Poland', 'cookie-notice' ),
|
295 |
+
'PT' => __( 'Portugal', 'cookie-notice' ),
|
296 |
+
'QA' => __( 'Qatar', 'cookie-notice' ),
|
297 |
+
'RE' => __( 'Reunion', 'cookie-notice' ),
|
298 |
+
'RO' => __( 'Romania', 'cookie-notice' ),
|
299 |
+
'RU' => __( 'Russia', 'cookie-notice' ),
|
300 |
+
'RW' => __( 'Rwanda', 'cookie-notice' ),
|
301 |
+
'BL' => __( 'Saint Barthélemy', 'cookie-notice' ),
|
302 |
+
'SH' => __( 'Saint Helena', 'cookie-notice' ),
|
303 |
+
'KN' => __( 'Saint Kitts and Nevis', 'cookie-notice' ),
|
304 |
+
'LC' => __( 'Saint Lucia', 'cookie-notice' ),
|
305 |
+
'MF' => __( 'Saint Martin (French part)', 'cookie-notice' ),
|
306 |
+
'SX' => __( 'Saint Martin (Dutch part)', 'cookie-notice' ),
|
307 |
+
'PM' => __( 'Saint Pierre and Miquelon', 'cookie-notice' ),
|
308 |
+
'VC' => __( 'Saint Vincent and the Grenadines', 'cookie-notice' ),
|
309 |
+
'SM' => __( 'San Marino', 'cookie-notice' ),
|
310 |
+
'ST' => __( 'São Tomé and Príncipe', 'cookie-notice' ),
|
311 |
+
'SA' => __( 'Saudi Arabia', 'cookie-notice' ),
|
312 |
+
'SN' => __( 'Senegal', 'cookie-notice' ),
|
313 |
+
'RS' => __( 'Serbia', 'cookie-notice' ),
|
314 |
+
'SC' => __( 'Seychelles', 'cookie-notice' ),
|
315 |
+
'SL' => __( 'Sierra Leone', 'cookie-notice' ),
|
316 |
+
'SG' => __( 'Singapore', 'cookie-notice' ),
|
317 |
+
'SK' => __( 'Slovakia', 'cookie-notice' ),
|
318 |
+
'SI' => __( 'Slovenia', 'cookie-notice' ),
|
319 |
+
'SB' => __( 'Solomon Islands', 'cookie-notice' ),
|
320 |
+
'SO' => __( 'Somalia', 'cookie-notice' ),
|
321 |
+
'ZA' => __( 'South Africa', 'cookie-notice' ),
|
322 |
+
'GS' => __( 'South Georgia/Sandwich Islands', 'cookie-notice' ),
|
323 |
+
'KR' => __( 'South Korea', 'cookie-notice' ),
|
324 |
+
'SS' => __( 'South Sudan', 'cookie-notice' ),
|
325 |
+
'ES' => __( 'Spain', 'cookie-notice' ),
|
326 |
+
'LK' => __( 'Sri Lanka', 'cookie-notice' ),
|
327 |
+
'SD' => __( 'Sudan', 'cookie-notice' ),
|
328 |
+
'SR' => __( 'Suriname', 'cookie-notice' ),
|
329 |
+
'SJ' => __( 'Svalbard and Jan Mayen', 'cookie-notice' ),
|
330 |
+
'SZ' => __( 'Swaziland', 'cookie-notice' ),
|
331 |
+
'SE' => __( 'Sweden', 'cookie-notice' ),
|
332 |
+
'CH' => __( 'Switzerland', 'cookie-notice' ),
|
333 |
+
'SY' => __( 'Syria', 'cookie-notice' ),
|
334 |
+
'TW' => __( 'Taiwan', 'cookie-notice' ),
|
335 |
+
'TJ' => __( 'Tajikistan', 'cookie-notice' ),
|
336 |
+
'TZ' => __( 'Tanzania', 'cookie-notice' ),
|
337 |
+
'TH' => __( 'Thailand', 'cookie-notice' ),
|
338 |
+
'TL' => __( 'Timor-Leste', 'cookie-notice' ),
|
339 |
+
'TG' => __( 'Togo', 'cookie-notice' ),
|
340 |
+
'TK' => __( 'Tokelau', 'cookie-notice' ),
|
341 |
+
'TO' => __( 'Tonga', 'cookie-notice' ),
|
342 |
+
'TT' => __( 'Trinidad and Tobago', 'cookie-notice' ),
|
343 |
+
'TN' => __( 'Tunisia', 'cookie-notice' ),
|
344 |
+
'TR' => __( 'Turkey', 'cookie-notice' ),
|
345 |
+
'TM' => __( 'Turkmenistan', 'cookie-notice' ),
|
346 |
+
'TC' => __( 'Turks and Caicos Islands', 'cookie-notice' ),
|
347 |
+
'TV' => __( 'Tuvalu', 'cookie-notice' ),
|
348 |
+
'UG' => __( 'Uganda', 'cookie-notice' ),
|
349 |
+
'UA' => __( 'Ukraine', 'cookie-notice' ),
|
350 |
+
'AE' => __( 'United Arab Emirates', 'cookie-notice' ),
|
351 |
+
'GB' => __( 'United Kingdom', 'cookie-notice' ),
|
352 |
+
'US' => __( 'United States', 'cookie-notice' ),
|
353 |
+
'UY' => __( 'Uruguay', 'cookie-notice' ),
|
354 |
+
'UZ' => __( 'Uzbekistan', 'cookie-notice' ),
|
355 |
+
'VU' => __( 'Vanuatu', 'cookie-notice' ),
|
356 |
+
'VA' => __( 'Vatican', 'cookie-notice' ),
|
357 |
+
'VE' => __( 'Venezuela', 'cookie-notice' ),
|
358 |
+
'VN' => __( 'Vietnam', 'cookie-notice' ),
|
359 |
+
'WF' => __( 'Wallis and Futuna', 'cookie-notice' ),
|
360 |
+
'EH' => __( 'Western Sahara', 'cookie-notice' ),
|
361 |
+
'WS' => __( 'Western Samoa', 'cookie-notice' ),
|
362 |
+
'YE' => __( 'Yemen', 'cookie-notice' ),
|
363 |
+
'ZM' => __( 'Zambia', 'cookie-notice' ),
|
364 |
+
'ZW' => __( 'Zimbabwe', 'cookie-notice' )
|
365 |
);
|
366 |
*/
|
367 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: gdpr, ccpa, cookies, consent, compliance
|
|
4 |
Requires at least: 4.3
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.6.1
|
7 |
-
Stable tag: 2.0.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -58,6 +58,9 @@ No questions yet.
|
|
58 |
|
59 |
== Changelog ==
|
60 |
|
|
|
|
|
|
|
61 |
= 2.0.2 =
|
62 |
* Tweak: UI/UX improvements
|
63 |
|
@@ -306,5 +309,5 @@ Initial release
|
|
306 |
|
307 |
== Upgrade Notice ==
|
308 |
|
309 |
-
= 2.0.
|
310 |
-
*
|
4 |
Requires at least: 4.3
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.6.1
|
7 |
+
Stable tag: 2.0.3
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
+
= 2.0.3 =
|
62 |
+
* Fix: Cookies accepted function issue when Compliance activated
|
63 |
+
|
64 |
= 2.0.2 =
|
65 |
* Tweak: UI/UX improvements
|
66 |
|
309 |
|
310 |
== Upgrade Notice ==
|
311 |
|
312 |
+
= 2.0.3 =
|
313 |
+
* Fix: Cookies accepted function issue when Compliance activated
|