Changeset 3339279
- Timestamp:
- 08/04/2025 10:21:38 PM (8 months ago)
- Location:
- ip2location-country-blocker/trunk
- Files:
-
- 2 edited
-
ip2location-country-blocker.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ip2location-country-blocker/trunk/ip2location-country-blocker.php
r3318994 r3339279 5 5 * Plugin URI: https://ip2location.com/resources/wordpress-ip2location-country-blocker 6 6 * Description: Block visitors from accessing your website or admin area by their country. 7 * Version: 2.39. 37 * Version: 2.39.4 8 8 * Requires PHP: 7.4 9 9 * Author: IP2Location … … 17 17 // For development usage. 18 18 if (isset($_SERVER['DEV_MODE'])) { 19 $_SERVER['REMOTE_ADDR'] = ' 8.8.8.8';19 $_SERVER['REMOTE_ADDR'] = '3.125.220.18'; 20 20 } 21 21 … … 905 905 $backends['totals'][] = $result->total; 906 906 } 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`)');911 907 } 912 908 -
ip2location-country-blocker/trunk/readme.txt
r3318994 r3339279 6 6 Requires at least: 4.6 7 7 Tested up to: 6.8 8 Stable tag: 2.39. 38 Stable tag: 2.39.4 9 9 10 10 Blocks unwanted visitors from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers. … … 92 92 93 93 == Changelog == 94 * 2,39,4 Removed internal table updates. 94 95 * 2.39.3 Fixed statistics log stopped. 95 96 * 2.39.2 Minor bugs fix.
Note: See TracChangeset
for help on using the changeset viewer.