Plugin Directory

Changeset 3492658 for cookieadmin


Ignore:
Timestamp:
03/27/2026 12:40:12 PM (26 hours ago)
Author:
softaculous
Message:

New version 1.1.7

Location:
cookieadmin/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cookieadmin/trunk/cookieadmin.php

    r3482463 r3492658  
    44Plugin URI: https://cookieadmin.net
    55Description: CookieAdmin provides easy to configure cookie consent banner with GDPR and CCPA law support.
    6 Version: 1.1.6
     6Version: 1.1.7
    77Author: Softaculous
    88Author URI: https://www.softaculous.com
     
    3838define('COOKIEADMIN_BASE', plugin_basename(COOKIEADMIN_FILE));
    3939define('COOKIEADMIN_DIR', plugin_dir_path(__FILE__));
    40 define('COOKIEADMIN_VERSION', '1.1.6');
     40define('COOKIEADMIN_VERSION', '1.1.7');
    4141define('COOKIEADMIN_URL', plugins_url('', COOKIEADMIN_FILE));
    4242define('COOKIEADMIN_PLUGIN_URL', plugin_dir_url(__FILE__));
     
    9393
    9494function cookieadmin_deactivate() {
    95    
    96    
    9795    return true;
    9896}
  • cookieadmin/trunk/includes/admin/scan.php

    r3482463 r3492658  
    199199            $scanner_info = get_option('cookieadmin_pro_scanner', []);
    200200           
    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)){
    202202                wp_send_json([
    203203                    'success' => false,
     
    228228                $urls = [home_url()];
    229229            } else {
    230                 $urls = \CookieAdminPro\Admin::cookieadmin_get_site_urls($urls, 2);
     230                $urls = \CookieAdminPro\Admin::cookieadmin_get_site_urls($urls, 1);
    231231            }
    232232
     
    313313            // Step 3: Check if the cookie exists in our DB.
    314314            if (isset($existing_cookies_lookup[$cookie_name])) {
    315                
    316315                $wpdb->update(
    317316                    $table_name,
     
    333332
    334333            } 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                }
    335348
    336349                // ------ INSERT a NEW cookie ------
  • cookieadmin/trunk/readme.txt

    r3482463 r3492658  
    33Tags: cookie, notice, banner, consent, gdpr
    44Requires at least: 4.4
    5 Tested up to: 6.9
     5Tested up to: 7.0
    66Requires PHP: 7.0
    7 Stable tag: 1.1.6
     7Stable tag: 1.1.7
    88License: LGPLv2.1
    99License URI: http://www.gnu.org/licenses/lgpl-2.1.html
     
    7676
    7777== 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.
    7885
    7986= 1.1.6 =
Note: See TracChangeset for help on using the changeset viewer.