Plugin Directory

Changeset 3376651


Ignore:
Timestamp:
10/11/2025 11:51:05 AM (6 months ago)
Author:
ip2location
Message:

Fixed "Download IPv4 database only" checkbox was ignore during database update.

Location:
ip2location-redirection/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ip2location-redirection/trunk/ip2location-redirection.php

    r3366878 r3376651  
    44 * Plugin URI: https://ip2location.com/resources/wordpress-ip2location-redirection
    55 * Description: Redirect visitors by their country.
    6  * Version: 1.35.0
     6 * Version: 1.35.1
    77 * Requires PHP: 7.4
    88 * Author: IP2Location
     
    265265            $token = $this->post('token');
    266266            $enable_region = $this->is_checked('enable_region');
    267             $ipv4_only = $this->is_checked('ipv4_only');
     267            $ipv4_only = $this->post('ipv4_only') === 'true';
    268268
    269269            $ipv6 = ($ipv4_only) ? '' : 'IPV6';
  • ip2location-redirection/trunk/readme.txt

    r3366878 r3376651  
    55Requires at least: 4.6
    66Tested up to: 6.8
    7 Stable tag: 1.35.0
     7Stable tag: 1.35.1
    88
    99Redirects visitors to a blog page or a predefined URL based on their country and region geolocated using IP address.
     
    6363
    6464== Changelog ==
     65* 1.35.1 Fixed "Download IPv4 database only" checkbox was ignore during database update.
    6566* 1.35.0 Added ability to flush cached data.
    6667* 1.34.3 Restored option to skip bots & crawlers.
Note: See TracChangeset for help on using the changeset viewer.