Plugin Directory

Changeset 3339279


Ignore:
Timestamp:
08/04/2025 10:21:38 PM (8 months ago)
Author:
ip2location
Message:

Removed internal table updates.

Location:
ip2location-country-blocker/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ip2location-country-blocker/trunk/ip2location-country-blocker.php

    r3318994 r3339279  
    55 * Plugin URI: https://ip2location.com/resources/wordpress-ip2location-country-blocker
    66 * Description: Block visitors from accessing your website or admin area by their country.
    7  * Version: 2.39.3
     7 * Version: 2.39.4
    88 * Requires PHP: 7.4
    99 * Author: IP2Location
     
    1717// For development usage.
    1818if (isset($_SERVER['DEV_MODE'])) {
    19     $_SERVER['REMOTE_ADDR'] = '8.8.8.8';
     19    $_SERVER['REMOTE_ADDR'] = '3.125.220.18';
    2020}
    2121
     
    905905                $backends['totals'][] = $result->total;
    906906            }
    907         }
    908 
    909         if ($results[0]->total == 0) {
    910             $this->wpdb_query('ALTER TABLE `' . $GLOBALS['wpdb']->prefix . 'ip2location_country_blocker_log` ADD INDEX `idx_ip_address` (`ip_address`)');
    911907        }
    912908
  • ip2location-country-blocker/trunk/readme.txt

    r3318994 r3339279  
    66Requires at least: 4.6
    77Tested up to: 6.8
    8 Stable tag: 2.39.3
     8Stable tag: 2.39.4
    99
    1010Blocks unwanted visitors from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers.
     
    9292
    9393== Changelog ==
     94* 2,39,4 Removed internal table updates.
    9495* 2.39.3 Fixed statistics log stopped.
    9596* 2.39.2 Minor bugs fix.
Note: See TracChangeset for help on using the changeset viewer.