Changeset 3492658 for cookieadmin
- Timestamp:
- 03/27/2026 12:40:12 PM (26 hours ago)
- Location:
- cookieadmin/trunk
- Files:
-
- 1 added
- 3 edited
-
cookieadmin.php (modified) (3 diffs)
-
includes/admin/scan.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
uninstall.php (added)
Legend:
- Unmodified
- Added
- Removed
-
cookieadmin/trunk/cookieadmin.php
r3482463 r3492658 4 4 Plugin URI: https://cookieadmin.net 5 5 Description: CookieAdmin provides easy to configure cookie consent banner with GDPR and CCPA law support. 6 Version: 1.1. 66 Version: 1.1.7 7 7 Author: Softaculous 8 8 Author URI: https://www.softaculous.com … … 38 38 define('COOKIEADMIN_BASE', plugin_basename(COOKIEADMIN_FILE)); 39 39 define('COOKIEADMIN_DIR', plugin_dir_path(__FILE__)); 40 define('COOKIEADMIN_VERSION', '1.1. 6');40 define('COOKIEADMIN_VERSION', '1.1.7'); 41 41 define('COOKIEADMIN_URL', plugins_url('', COOKIEADMIN_FILE)); 42 42 define('COOKIEADMIN_PLUGIN_URL', plugin_dir_url(__FILE__)); … … 93 93 94 94 function cookieadmin_deactivate() { 95 96 97 95 return true; 98 96 } -
cookieadmin/trunk/includes/admin/scan.php
r3482463 r3492658 199 199 $scanner_info = get_option('cookieadmin_pro_scanner', []); 200 200 201 if(!empty($scanner_info['last_scan']) && (time() >$scanner_info['last_scan'] + 3600)){201 if(!empty($scanner_info['last_scan']) && (time() < $scanner_info['last_scan'] + 3600)){ 202 202 wp_send_json([ 203 203 'success' => false, … … 228 228 $urls = [home_url()]; 229 229 } else { 230 $urls = \CookieAdminPro\Admin::cookieadmin_get_site_urls($urls, 2);230 $urls = \CookieAdminPro\Admin::cookieadmin_get_site_urls($urls, 1); 231 231 } 232 232 … … 313 313 // Step 3: Check if the cookie exists in our DB. 314 314 if (isset($existing_cookies_lookup[$cookie_name])) { 315 316 315 $wpdb->update( 317 316 $table_name, … … 333 332 334 333 } else { 334 335 if($cookie_name == 'cookieadmin_consent' && empty($cookie_data['expires'])){ 336 $view = get_option('cookieadmin_law', 'cookieadmin_gdpr'); 337 $policy = cookieadmin_load_policy(); 338 339 if(!empty($policy) && !empty($policy[$view])){ 340 $cookie_exp_days = (int) (!empty($policy[$view]['cookieadmin_days']) ? $policy[$view]['cookieadmin_days'] : 365); 341 $utc_time = gmdate('Y-m-d H:i:s', strtotime('+'.$cookie_exp_days.' days')); 342 } else { 343 $utc_time = gmdate('Y-m-d H:i:s', strtotime('+365 days')); 344 } 345 346 $cookie_data['expires'] = $utc_time; 347 } 335 348 336 349 // ------ INSERT a NEW cookie ------ -
cookieadmin/trunk/readme.txt
r3482463 r3492658 3 3 Tags: cookie, notice, banner, consent, gdpr 4 4 Requires at least: 4.4 5 Tested up to: 6.95 Tested up to: 7.0 6 6 Requires PHP: 7.0 7 Stable tag: 1.1. 67 Stable tag: 1.1.7 8 8 License: LGPLv2.1 9 9 License URI: http://www.gnu.org/licenses/lgpl-2.1.html … … 76 76 77 77 == Changelog == 78 79 = 1.1.7 = 80 * [Pro Bug Fix] There was an issue with Cookie scans resulting in timeouts that has been fixed. 81 * [Pro Bug Fix] There was an issue where toggle color customization was not working, this has been fixed. 82 * [Bug Fix] For some users scanning was giving a wait error after 1 hour of last scan, this has been fixed. 83 * [Task] Uninstalling the plugin was not cleaning the added options this has been fixed. 84 * [Task] Tested with WordPress 7.0. 78 85 79 86 = 1.1.6 =
Note: See TracChangeset
for help on using the changeset viewer.