Cookie Notice by dFactory - Version 2.0.3

Version Description

  • Fix: Cookies accepted function issue when Compliance activated
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Cookie Notice by dFactory
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

Files changed (3) hide show
  1. cookie-notice.php +12 -7
  2. includes/settings.php +244 -244
  3. 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.2
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.1
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.2'
89
  );
90
 
91
  private static $_instance;
@@ -220,7 +220,11 @@ class Cookie_Notice {
220
  if ( ! current_user_can( 'install_plugins' ) )
221
  return;
222
 
223
- $current_update = 5;
 
 
 
 
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
- // show welcome, if no compliance only
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( 'options-general.php?page=cookie-notice' ), __( 'Settings', 'cookie-notice' ) ) );
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', 'events-maker' ),
122
- 'AX' => __( '&#197;land Islands', 'events-maker' ),
123
- 'AL' => __( 'Albania', 'events-maker' ),
124
- 'DZ' => __( 'Algeria', 'events-maker' ),
125
- 'AD' => __( 'Andorra', 'events-maker' ),
126
- 'AO' => __( 'Angola', 'events-maker' ),
127
- 'AI' => __( 'Anguilla', 'events-maker' ),
128
- 'AQ' => __( 'Antarctica', 'events-maker' ),
129
- 'AG' => __( 'Antigua and Barbuda', 'events-maker' ),
130
- 'AR' => __( 'Argentina', 'events-maker' ),
131
- 'AM' => __( 'Armenia', 'events-maker' ),
132
- 'AW' => __( 'Aruba', 'events-maker' ),
133
- 'AU' => __( 'Australia', 'events-maker' ),
134
- 'AT' => __( 'Austria', 'events-maker' ),
135
- 'AZ' => __( 'Azerbaijan', 'events-maker' ),
136
- 'BS' => __( 'Bahamas', 'events-maker' ),
137
- 'BH' => __( 'Bahrain', 'events-maker' ),
138
- 'BD' => __( 'Bangladesh', 'events-maker' ),
139
- 'BB' => __( 'Barbados', 'events-maker' ),
140
- 'BY' => __( 'Belarus', 'events-maker' ),
141
- 'BE' => __( 'Belgium', 'events-maker' ),
142
- 'PW' => __( 'Belau', 'events-maker' ),
143
- 'BZ' => __( 'Belize', 'events-maker' ),
144
- 'BJ' => __( 'Benin', 'events-maker' ),
145
- 'BM' => __( 'Bermuda', 'events-maker' ),
146
- 'BT' => __( 'Bhutan', 'events-maker' ),
147
- 'BO' => __( 'Bolivia', 'events-maker' ),
148
- 'BQ' => __( 'Bonaire, Saint Eustatius and Saba', 'events-maker' ),
149
- 'BA' => __( 'Bosnia and Herzegovina', 'events-maker' ),
150
- 'BW' => __( 'Botswana', 'events-maker' ),
151
- 'BV' => __( 'Bouvet Island', 'events-maker' ),
152
- 'BR' => __( 'Brazil', 'events-maker' ),
153
- 'IO' => __( 'British Indian Ocean Territory', 'events-maker' ),
154
- 'VG' => __( 'British Virgin Islands', 'events-maker' ),
155
- 'BN' => __( 'Brunei', 'events-maker' ),
156
- 'BG' => __( 'Bulgaria', 'events-maker' ),
157
- 'BF' => __( 'Burkina Faso', 'events-maker' ),
158
- 'BI' => __( 'Burundi', 'events-maker' ),
159
- 'KH' => __( 'Cambodia', 'events-maker' ),
160
- 'CM' => __( 'Cameroon', 'events-maker' ),
161
- 'CA' => __( 'Canada', 'events-maker' ),
162
- 'CV' => __( 'Cape Verde', 'events-maker' ),
163
- 'KY' => __( 'Cayman Islands', 'events-maker' ),
164
- 'CF' => __( 'Central African Republic', 'events-maker' ),
165
- 'TD' => __( 'Chad', 'events-maker' ),
166
- 'CL' => __( 'Chile', 'events-maker' ),
167
- 'CN' => __( 'China', 'events-maker' ),
168
- 'CX' => __( 'Christmas Island', 'events-maker' ),
169
- 'CC' => __( 'Cocos (Keeling) Islands', 'events-maker' ),
170
- 'CO' => __( 'Colombia', 'events-maker' ),
171
- 'KM' => __( 'Comoros', 'events-maker' ),
172
- 'CG' => __( 'Congo (Brazzaville)', 'events-maker' ),
173
- 'CD' => __( 'Congo (Kinshasa)', 'events-maker' ),
174
- 'CK' => __( 'Cook Islands', 'events-maker' ),
175
- 'CR' => __( 'Costa Rica', 'events-maker' ),
176
- 'HR' => __( 'Croatia', 'events-maker' ),
177
- 'CU' => __( 'Cuba', 'events-maker' ),
178
- 'CW' => __( 'Cura&Ccedil;ao', 'events-maker' ),
179
- 'CY' => __( 'Cyprus', 'events-maker' ),
180
- 'CZ' => __( 'Czech Republic', 'events-maker' ),
181
- 'DK' => __( 'Denmark', 'events-maker' ),
182
- 'DJ' => __( 'Djibouti', 'events-maker' ),
183
- 'DM' => __( 'Dominica', 'events-maker' ),
184
- 'DO' => __( 'Dominican Republic', 'events-maker' ),
185
- 'EC' => __( 'Ecuador', 'events-maker' ),
186
- 'EG' => __( 'Egypt', 'events-maker' ),
187
- 'SV' => __( 'El Salvador', 'events-maker' ),
188
- 'GQ' => __( 'Equatorial Guinea', 'events-maker' ),
189
- 'ER' => __( 'Eritrea', 'events-maker' ),
190
- 'EE' => __( 'Estonia', 'events-maker' ),
191
- 'ET' => __( 'Ethiopia', 'events-maker' ),
192
- 'FK' => __( 'Falkland Islands', 'events-maker' ),
193
- 'FO' => __( 'Faroe Islands', 'events-maker' ),
194
- 'FJ' => __( 'Fiji', 'events-maker' ),
195
- 'FI' => __( 'Finland', 'events-maker' ),
196
- 'FR' => __( 'France', 'events-maker' ),
197
- 'GF' => __( 'French Guiana', 'events-maker' ),
198
- 'PF' => __( 'French Polynesia', 'events-maker' ),
199
- 'TF' => __( 'French Southern Territories', 'events-maker' ),
200
- 'GA' => __( 'Gabon', 'events-maker' ),
201
- 'GM' => __( 'Gambia', 'events-maker' ),
202
- 'GE' => __( 'Georgia', 'events-maker' ),
203
- 'DE' => __( 'Germany', 'events-maker' ),
204
- 'GH' => __( 'Ghana', 'events-maker' ),
205
- 'GI' => __( 'Gibraltar', 'events-maker' ),
206
- 'GR' => __( 'Greece', 'events-maker' ),
207
- 'GL' => __( 'Greenland', 'events-maker' ),
208
- 'GD' => __( 'Grenada', 'events-maker' ),
209
- 'GP' => __( 'Guadeloupe', 'events-maker' ),
210
- 'GT' => __( 'Guatemala', 'events-maker' ),
211
- 'GG' => __( 'Guernsey', 'events-maker' ),
212
- 'GN' => __( 'Guinea', 'events-maker' ),
213
- 'GW' => __( 'Guinea-Bissau', 'events-maker' ),
214
- 'GY' => __( 'Guyana', 'events-maker' ),
215
- 'HT' => __( 'Haiti', 'events-maker' ),
216
- 'HM' => __( 'Heard Island and McDonald Islands', 'events-maker' ),
217
- 'HN' => __( 'Honduras', 'events-maker' ),
218
- 'HK' => __( 'Hong Kong', 'events-maker' ),
219
- 'HU' => __( 'Hungary', 'events-maker' ),
220
- 'IS' => __( 'Iceland', 'events-maker' ),
221
- 'IN' => __( 'India', 'events-maker' ),
222
- 'ID' => __( 'Indonesia', 'events-maker' ),
223
- 'IR' => __( 'Iran', 'events-maker' ),
224
- 'IQ' => __( 'Iraq', 'events-maker' ),
225
- 'IE' => __( 'Republic of Ireland', 'events-maker' ),
226
- 'IM' => __( 'Isle of Man', 'events-maker' ),
227
- 'IL' => __( 'Israel', 'events-maker' ),
228
- 'IT' => __( 'Italy', 'events-maker' ),
229
- 'CI' => __( 'Ivory Coast', 'events-maker' ),
230
- 'JM' => __( 'Jamaica', 'events-maker' ),
231
- 'JP' => __( 'Japan', 'events-maker' ),
232
- 'JE' => __( 'Jersey', 'events-maker' ),
233
- 'JO' => __( 'Jordan', 'events-maker' ),
234
- 'KZ' => __( 'Kazakhstan', 'events-maker' ),
235
- 'KE' => __( 'Kenya', 'events-maker' ),
236
- 'KI' => __( 'Kiribati', 'events-maker' ),
237
- 'KW' => __( 'Kuwait', 'events-maker' ),
238
- 'KG' => __( 'Kyrgyzstan', 'events-maker' ),
239
- 'LA' => __( 'Laos', 'events-maker' ),
240
- 'LV' => __( 'Latvia', 'events-maker' ),
241
- 'LB' => __( 'Lebanon', 'events-maker' ),
242
- 'LS' => __( 'Lesotho', 'events-maker' ),
243
- 'LR' => __( 'Liberia', 'events-maker' ),
244
- 'LY' => __( 'Libya', 'events-maker' ),
245
- 'LI' => __( 'Liechtenstein', 'events-maker' ),
246
- 'LT' => __( 'Lithuania', 'events-maker' ),
247
- 'LU' => __( 'Luxembourg', 'events-maker' ),
248
- 'MO' => __( 'Macao S.A.R., China', 'events-maker' ),
249
- 'MK' => __( 'Macedonia', 'events-maker' ),
250
- 'MG' => __( 'Madagascar', 'events-maker' ),
251
- 'MW' => __( 'Malawi', 'events-maker' ),
252
- 'MY' => __( 'Malaysia', 'events-maker' ),
253
- 'MV' => __( 'Maldives', 'events-maker' ),
254
- 'ML' => __( 'Mali', 'events-maker' ),
255
- 'MT' => __( 'Malta', 'events-maker' ),
256
- 'MH' => __( 'Marshall Islands', 'events-maker' ),
257
- 'MQ' => __( 'Martinique', 'events-maker' ),
258
- 'MR' => __( 'Mauritania', 'events-maker' ),
259
- 'MU' => __( 'Mauritius', 'events-maker' ),
260
- 'YT' => __( 'Mayotte', 'events-maker' ),
261
- 'MX' => __( 'Mexico', 'events-maker' ),
262
- 'FM' => __( 'Micronesia', 'events-maker' ),
263
- 'MD' => __( 'Moldova', 'events-maker' ),
264
- 'MC' => __( 'Monaco', 'events-maker' ),
265
- 'MN' => __( 'Mongolia', 'events-maker' ),
266
- 'ME' => __( 'Montenegro', 'events-maker' ),
267
- 'MS' => __( 'Montserrat', 'events-maker' ),
268
- 'MA' => __( 'Morocco', 'events-maker' ),
269
- 'MZ' => __( 'Mozambique', 'events-maker' ),
270
- 'MM' => __( 'Myanmar', 'events-maker' ),
271
- 'NA' => __( 'Namibia', 'events-maker' ),
272
- 'NR' => __( 'Nauru', 'events-maker' ),
273
- 'NP' => __( 'Nepal', 'events-maker' ),
274
- 'NL' => __( 'Netherlands', 'events-maker' ),
275
- 'AN' => __( 'Netherlands Antilles', 'events-maker' ),
276
- 'NC' => __( 'New Caledonia', 'events-maker' ),
277
- 'NZ' => __( 'New Zealand', 'events-maker' ),
278
- 'NI' => __( 'Nicaragua', 'events-maker' ),
279
- 'NE' => __( 'Niger', 'events-maker' ),
280
- 'NG' => __( 'Nigeria', 'events-maker' ),
281
- 'NU' => __( 'Niue', 'events-maker' ),
282
- 'NF' => __( 'Norfolk Island', 'events-maker' ),
283
- 'KP' => __( 'North Korea', 'events-maker' ),
284
- 'NO' => __( 'Norway', 'events-maker' ),
285
- 'OM' => __( 'Oman', 'events-maker' ),
286
- 'PK' => __( 'Pakistan', 'events-maker' ),
287
- 'PS' => __( 'Palestinian Territory', 'events-maker' ),
288
- 'PA' => __( 'Panama', 'events-maker' ),
289
- 'PG' => __( 'Papua New Guinea', 'events-maker' ),
290
- 'PY' => __( 'Paraguay', 'events-maker' ),
291
- 'PE' => __( 'Peru', 'events-maker' ),
292
- 'PH' => __( 'Philippines', 'events-maker' ),
293
- 'PN' => __( 'Pitcairn', 'events-maker' ),
294
- 'PL' => __( 'Poland', 'events-maker' ),
295
- 'PT' => __( 'Portugal', 'events-maker' ),
296
- 'QA' => __( 'Qatar', 'events-maker' ),
297
- 'RE' => __( 'Reunion', 'events-maker' ),
298
- 'RO' => __( 'Romania', 'events-maker' ),
299
- 'RU' => __( 'Russia', 'events-maker' ),
300
- 'RW' => __( 'Rwanda', 'events-maker' ),
301
- 'BL' => __( 'Saint Barth&eacute;lemy', 'events-maker' ),
302
- 'SH' => __( 'Saint Helena', 'events-maker' ),
303
- 'KN' => __( 'Saint Kitts and Nevis', 'events-maker' ),
304
- 'LC' => __( 'Saint Lucia', 'events-maker' ),
305
- 'MF' => __( 'Saint Martin (French part)', 'events-maker' ),
306
- 'SX' => __( 'Saint Martin (Dutch part)', 'events-maker' ),
307
- 'PM' => __( 'Saint Pierre and Miquelon', 'events-maker' ),
308
- 'VC' => __( 'Saint Vincent and the Grenadines', 'events-maker' ),
309
- 'SM' => __( 'San Marino', 'events-maker' ),
310
- 'ST' => __( 'S&atilde;o Tom&eacute; and Pr&iacute;ncipe', 'events-maker' ),
311
- 'SA' => __( 'Saudi Arabia', 'events-maker' ),
312
- 'SN' => __( 'Senegal', 'events-maker' ),
313
- 'RS' => __( 'Serbia', 'events-maker' ),
314
- 'SC' => __( 'Seychelles', 'events-maker' ),
315
- 'SL' => __( 'Sierra Leone', 'events-maker' ),
316
- 'SG' => __( 'Singapore', 'events-maker' ),
317
- 'SK' => __( 'Slovakia', 'events-maker' ),
318
- 'SI' => __( 'Slovenia', 'events-maker' ),
319
- 'SB' => __( 'Solomon Islands', 'events-maker' ),
320
- 'SO' => __( 'Somalia', 'events-maker' ),
321
- 'ZA' => __( 'South Africa', 'events-maker' ),
322
- 'GS' => __( 'South Georgia/Sandwich Islands', 'events-maker' ),
323
- 'KR' => __( 'South Korea', 'events-maker' ),
324
- 'SS' => __( 'South Sudan', 'events-maker' ),
325
- 'ES' => __( 'Spain', 'events-maker' ),
326
- 'LK' => __( 'Sri Lanka', 'events-maker' ),
327
- 'SD' => __( 'Sudan', 'events-maker' ),
328
- 'SR' => __( 'Suriname', 'events-maker' ),
329
- 'SJ' => __( 'Svalbard and Jan Mayen', 'events-maker' ),
330
- 'SZ' => __( 'Swaziland', 'events-maker' ),
331
- 'SE' => __( 'Sweden', 'events-maker' ),
332
- 'CH' => __( 'Switzerland', 'events-maker' ),
333
- 'SY' => __( 'Syria', 'events-maker' ),
334
- 'TW' => __( 'Taiwan', 'events-maker' ),
335
- 'TJ' => __( 'Tajikistan', 'events-maker' ),
336
- 'TZ' => __( 'Tanzania', 'events-maker' ),
337
- 'TH' => __( 'Thailand', 'events-maker' ),
338
- 'TL' => __( 'Timor-Leste', 'events-maker' ),
339
- 'TG' => __( 'Togo', 'events-maker' ),
340
- 'TK' => __( 'Tokelau', 'events-maker' ),
341
- 'TO' => __( 'Tonga', 'events-maker' ),
342
- 'TT' => __( 'Trinidad and Tobago', 'events-maker' ),
343
- 'TN' => __( 'Tunisia', 'events-maker' ),
344
- 'TR' => __( 'Turkey', 'events-maker' ),
345
- 'TM' => __( 'Turkmenistan', 'events-maker' ),
346
- 'TC' => __( 'Turks and Caicos Islands', 'events-maker' ),
347
- 'TV' => __( 'Tuvalu', 'events-maker' ),
348
- 'UG' => __( 'Uganda', 'events-maker' ),
349
- 'UA' => __( 'Ukraine', 'events-maker' ),
350
- 'AE' => __( 'United Arab Emirates', 'events-maker' ),
351
- 'GB' => __( 'United Kingdom', 'events-maker' ),
352
- 'US' => __( 'United States', 'events-maker' ),
353
- 'UY' => __( 'Uruguay', 'events-maker' ),
354
- 'UZ' => __( 'Uzbekistan', 'events-maker' ),
355
- 'VU' => __( 'Vanuatu', 'events-maker' ),
356
- 'VA' => __( 'Vatican', 'events-maker' ),
357
- 'VE' => __( 'Venezuela', 'events-maker' ),
358
- 'VN' => __( 'Vietnam', 'events-maker' ),
359
- 'WF' => __( 'Wallis and Futuna', 'events-maker' ),
360
- 'EH' => __( 'Western Sahara', 'events-maker' ),
361
- 'WS' => __( 'Western Samoa', 'events-maker' ),
362
- 'YE' => __( 'Yemen', 'events-maker' ),
363
- 'ZM' => __( 'Zambia', 'events-maker' ),
364
- 'ZW' => __( 'Zimbabwe', 'events-maker' )
365
  );
366
  */
367
 
118
 
119
  /*
120
  $this->countries = array(
121
+ 'AF' => __( 'Afghanistan', 'cookie-notice' ),
122
+ 'AX' => __( '&#197;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&Ccedil;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&eacute;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&atilde;o Tom&eacute; and Pr&iacute;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.2
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.2 =
310
- * Tweak: UI/UX improvements
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