=== IP Location Block === Contributors: darkog Tags: country block, state block, region block, geolocation, ip blocker Requires at least: 6.5 Tested up to: 7.1 Requires PHP: 8.1 Stable tag: 1.4.0-rc.2 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.txt Block visitors by country, state, or region. Add regional precision, bot controls, login protection, and request logs. == Description == IP Location Block lets you block or allow visitors by country, IP address, CIDR range, or ASN. Connect the IP Location Block provider to add state or region precision using the administrative area returned for each country. Simple view covers the common setup in a few controls. Advanced view adds login protection, bot rules, validation targets, privacy controls, request logs, statistics, provider fallbacks, and diagnostics. **Note:** This plugin is based on the abandoned "IP Geo Block" plugin by tokkonopapa and is now independently maintained. = Features = * **State or region precision:** The [IP Location Block provider](https://iplocationblock.com/docs/providers/ip-location-block/?utm_source=plugin&utm_medium=wporgpage&utm_campaign=readme) provides managed geolocation data with **state or region precision**, IPv6, and ASN support in addition to standard country matching. * **Privacy by design:** IP address is always encrypted on recording in logs/cache. Moreover, it can be anonymized. * **Location rules:** Validate public pages, comments, XML-RPC, login, registration, and selected administrative endpoints. Configure a blocklist or allowlist using [country codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements "ISO 3166-1 alpha-2 - Wikipedia"), [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing "Classless Inter-Domain Routing - Wikipedia"), and [AS numbers](https://en.wikipedia.org/wiki/Autonomous_system_(Internet) "Autonomous system - Wikipedia"). * **Guard against login attempts:** In order to prevent hacking through the login form and XML-RPC by brute-force and the reverse-brute-force attacks, the number of login attempts will be limited per IP address even from the permitted countries. * **Minimize server load against brute-force attacks:** You can configure this plugin as a [Must Use Plugins](https://codex.wordpress.org/Must_Use_Plugins "Must Use Plugins « WordPress Codex") so that this plugin can be loaded prior to regular plugins. It can massively [reduce the load on server](https://iplocationblock.com/codex/validation-timing/ "Validation timing | IP Location Block"). * **Prevent malicious down/uploading:** A malicious request such as exposing `wp-config.php` or uploading malwares via vulnerable plugins/themes can be blocked. * **Block badly-behaved bots and crawlers:** A simple logic may help to reduce the number of rogue bots and crawlers scraping your site. * **Support of BuddyPress and bbPress:** You can configure this plugin so that a registered user can login as a membership from anywhere, while a request such as a new user registration, lost password, creating a new topic and subscribing comment can be blocked by country. It is suitable for [BuddyPress](https://wordpress.org/plugins/buddypress/ "BuddyPress — WordPress Plugins") and [bbPress](https://wordpress.org/plugins/bbpress/ "WordPress › bbPress « WordPress Plugins") to help reducing spams. * **Referrer suppressor for external links:** When you click an external hyperlink on admin screens, http referrer will be eliminated to hide a footprint of your site. * **Multiple geolocation providers:** Besides the [IP Location Block provider](https://iplocationblock.com/docs/providers/ip-location-block/?utm_source=plugin&utm_medium=wporgpage&utm_campaign=readme), the plugin supports [MaxMind GeoLite2](https://www.maxmind.com "MaxMind - IP Geolocation and Online Fraud Prevention"), [IP2Location LITE](https://www.ip2location.com/ "IP Address Geolocation to Identify Website Visitor's Geographical Location"), and selected remote APIs. Country blocking remains available when regional precision is unsupported. * **Customizing response:** HTTP response code can be selectable as `403 Forbidden` to deny access pages, `404 Not Found` to hide pages or even `200 OK` to redirect to the top page. You can also have a human friendly page (like `404.php`) in your parent/child theme template directory to fit your site design. * **Validation logs:** Validation logs for useful information to audit attack patterns can be manageable. * **Cooperation with full spec security plugin:** This plugin is lite enough to be able to cooperate with other full spec security plugin such as [Wordfence Security](https://wordpress.org/plugins/wordfence/ "Wordfence Security — WordPress Plugins"). See [this report](https://iplocationblock.com/codex/page-speed-performance/ "Page speed performance | IP Location Block") about page speed performance. * **Extension hooks:** Existing public validation filters remain available for integrations and custom blocking behavior. See the [documentation](https://iplocationblock.com/docs/) for current setup guidance and the Legacy Codex for historical developer examples. * **Deprecations (1.4.0):** Registration of external/third-party geolocation providers has been removed: `IP_Location_Block_Provider::register_addon()` is now a deprecated no-op and the uploads `apis/` directory is no longer scanned for add-on providers. The `ip-location-block-api-dir` filter has been removed. A new `ip-location-block-deprecated` action fires whenever a deprecated integration point is used, so integrators can detect and update legacy code. Legacy global class names (`IP_Location_Block`, `IP_Location_Block_Provider`, `IP_Location_Block_API`, etc.) are guaranteed to remain available as aliases throughout the 1.x release series. * **Self blocking prevention and easy rescue:** Website owners do not prefer themselves to be blocked. This plugin prevents such a sad thing unless you force it. If such a situation occurs, follow the [troubleshooting guide](https://iplocationblock.com/docs/troubleshooting/) and use the private emergency access link. * **Clean uninstallation:** Nothing is left in your precious mySQL database after uninstallation. So you can feel free to install and activate to make a trial of this plugin's functionality. = Documentation = Current setup guides are available in the [IP Location Block documentation](https://iplocationblock.com/docs/ "IP Location Block documentation"). = Attribution = This package includes GeoLite2 library distributed by MaxMind, available from [MaxMind](https://www.maxmind.com "MaxMind - IP Geolocation and Online Fraud Prevention"), and also includes IP2Location open source libraries available from [IP2Location](https://www.ip2location.com "IP Address Geolocation to Identify Website Visitor's Geographical Location"). Also thanks for providing the following services and REST APIs for free. * [http://geoiplookup.net/](http://geoiplookup.net/ "What Is My IP Address | GeoIP Lookup") (IPv4, IPv6 / free) * [https://ipinfo.io/](https://ipinfo.io/ "IP Address API and Data Solutions") (IPv4, IPv6 / free) * [https://ipapi.com/](https://ipapi.com/ "ipapi - IP Address Lookup and Geolocation API") (IPv4, IPv6 / free, need API key) * [https://ipstack.com/](https://ipstack.com/ "ipstack - Free IP Geolocation API") (IPv4, IPv6 / free, need API key) * [https://ipinfodb.com/](https://ipinfodb.com/ "Free IP Geolocation Tools and API| IPInfoDB") (IPv4, IPv6 / free, need API key) = Development = Development of this plugin happens at [IP Location Block on GitHub](https://github.com/ip-location-block/ip-location-block "IP Location Block - GitHub"). All contributions will always be welcome. == Installation == = Using The WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Search for 'IP Location Block' 3. Click 'Install Now' 4. Activate the plugin on the Plugin dashboard 5. Stay cool for a while and go to 'Settings' » 'IP Location Block' 6. Try 'Best for Back-end' button for easy setup at the bottom of this plugin's setting page. Follow the current [getting started guide](https://iplocationblock.com/docs/getting-started/ "IP Location Block documentation") for the recommended setup. == Frequently Asked Questions == = Does the site using this plugin comply with GDPR? = This plugin is designed based on the principle of "Privacy by design" so that you can compliantly run it to GDPR. As guarding against personal data breach, IP addresses in this plugin are encrypted and also can be anonymized by default. It also provides some functions not only to manually erase them but also to automatically remove them when those are exceeded a certain amount/time. However, these are the part of GDPR requirements and do not guarantee that the site is compliant with GDPR. Refer to [3.0.11 release note](https://iplocationblock.com/changelog/0-3-0-11-release-note/) for details. = Is there a way to migrate from IP Geo Block" Yes, if "IP Geo Block" settings are detected, you will see migrate option in the Settings last in "Plugin Settings" section. This will copy the settings from "IP Geo Block" only. = Does this plugin support multisite? = Yes. You can synchronize the settings with all the sites on the network when you activate on network and enable "**Network wide settings**" in "**Plugin settings**" section. = Does this plugin allow blocking US states or equivalent country regions? Yes. The IP Location Block provider supports rules for the administrative area returned in each country, such as a state, province, prefecture, territory, or region. Create the country rule first, then add a row under **Regional rules** in Simple view. Choose the country and select the exact administrative-area name returned by the provider. Use the **Search** tab to verify the spelling for a representative IP address. Country blocking remains active when another provider is selected. If that provider does not support regional precision, the saved regional controls are unavailable and a warning explains the limitation. See [State or region rules](https://iplocationblock.com/docs/blocking-rules/state-region/) for the current interface and behavior. = How do the bot / User-Agent rules work? = Under **Bot protection**, the *User-Agent (bot) rules* let you allow or block requests by their User-Agent string. The redesigned interface gives you one-click presets (allow verified search engines & feeds, allow social / link-preview bots, block AI-training crawlers, block aggressive SEO scrapers, and opt-in toggles to block AI agents or allow AI-search crawlers), a per-rule editor, a "Test a User-Agent" box, and a raw-list mode for hand-tuning. The rules are stored as a flat list you can also edit directly: * Entries are separated by a comma or a newline (they are equivalent). Each entry is `UAqualifier`. * The separator sets the action: `:` **allows** (passes) the request, `#` **blocks** it. An entry that contains a `#` anywhere is a block. * `UA` is matched as a **case-sensitive substring** of the request's User-Agent header, so `Googlebot` also matches `Googlebot-Image`. Use `*` to match any User-Agent. * The `qualifier` is one of: `*` (any country), a 2-letter **country code** (e.g. `US`), `HOST` or `HOST=name` (**verified reverse DNS**), `FEED` (a feed request), `AS12345` (an **ASN**), `REF=text` (the referer contains *text*), or an **IP address / CIDR**. * A leading `!` **negates** the qualifier, e.g. `GPTBot#!US` blocks GPTBot everywhere except the US. Examples: `GPTBot#*` blocks any request whose UA contains `GPTBot`; `Googlebot:HOST` allows Googlebot **only** after verifying its reverse DNS; `*:FEED` allows any feed request; `Twitterbot:*` allows Twitter's card fetcher from any country. **Important:** an **allow-rule with `HOST` only verifies when "Reverse DNS lookup" is turned on.** With it off (the default), `HOST` is treated as "any", so a `Name:HOST` allow-rule passes *any* request whose User-Agent contains *Name*, from any country — a spoofed User-Agent can bypass country blocking. **Block**-rules (`#`) need no verification and are unaffected. New installs ship a modern default (verified search engines, feeds, social previews allowed; AI-training and aggressive SEO crawlers blocked); existing sites keep their rules and are offered a one-click update. = Does this plugin works well with caching? = The short answer is **YES**, especially for the purpose of security e.g. blocking malicious access both on the back-end and on the front-end. Use [location blocking with page cache](https://iplocationblock.com/docs/blocking-rules/page-cache/) and consult the Legacy Codex compatibility notes for provider-specific details. = I still have access from blacklisted country. Does it work correctly? = Absolutely, YES. Sometimes, a WordFence Security user would report this type of claim when he/she found some accesses in its Live traffic view. But please don't worry. Before WordPress runs, WordFence cleverly filters out malicious requests to your site using auto_prepend_file directive to include PHP based Web Application Firewall. Then this plugin validates the rest of the requests that pass over Wordfence because those were not in WAF rules. It would also possibly be caused by the accuracy of country code in the geolocation databases. Actually, there is a case that a same IP address has different country code. For more detail, please refer to "[I still have access from blacklisted country.](https://iplocationblock.com/codex/i-still-have-access-from-blacklisted-country/ 'I still have access from blacklisted country. | IP Location Block')". = How can I test this plugin works? = The easiest way is to use [free proxy browser addon](https://www.google.com/search?q=free+proxy+browser+addon "free proxy browser addon - Google Search"). Another one is to use [http header browser addon](https://www.google.com/search?q=browser+add+on+modify+http+header "browser add on modify http header - Google Search"). You can add an IP address to the `X-Forwarded-For` header to emulate the access behind the proxy. In this case, you should add `HTTP_X_FORWARDED_FOR` into the "**$_SERVER keys for extra IPs**" on "**Settings**" tab. See more details at "[How to test prevention of attacks](https://iplocationblock.com/?codex-category=test-prevention-of-attacks 'Codex | IP Location Block')". = I'm locked out! What shall I do? = Start with the [admin access troubleshooting steps](https://iplocationblock.com/docs/troubleshooting/#admin-access-problem) and use the private emergency access link configured in Diagnostics. You can also find another solution by editing "**Emergent Functionality**" code section near the bottom of `ip-location-block.php`. This code block can be activated by replacing `/*` (opening multi-line comment) at the top of the line to `//` (single line comment), or `*` at the end of the line to `*/` (closing multi-line comment). `/** * Invalidate blocking behavior in case yourself is locked out. * * How to use: Activate the following code and upload this file via FTP. */ /* -- ADD '/' TO THE TOP OR END OF THIS LINE TO ACTIVATE THE FOLLOWINGS -- */ function ip_location_block_emergency( $validate, $settings ) { $validate['result'] = 'passed'; return $validate; } add_filter( 'ip-location-block-login', 'ip_location_block_emergency', 1, 2 ); add_filter( 'ip-location-block-admin', 'ip_location_block_emergency', 1, 2 ); // */` Please not that you have to use an [appropriate editor](https://codex.wordpress.org/Editing_Files#Using_Text_Editors "Editing Files « WordPress Codex"). After saving and uploading it to `/wp-content/plugins/ip-location-block/` on your server via FTP, you become to be able to login again as an admin. Remember that you should upload the original one after re-configuration to deactivate this feature. The [troubleshooting guide](https://iplocationblock.com/docs/troubleshooting/) also covers provider, cache, and rule problems. = Do I have to turn on all the selection to enhance security? = Yes. Roughly speaking, the strategy of this plugin has been constructed as follows: - **Block by country** It blocks malicious requests from outside your country. - **Force to load WP core** It blocks the request which has not been covered in the above two. - **Bad signatures in query** It blocks the request which has not been covered in the above three. Use Simple view for the common public-site and admin-side targets. See [Protect wp-admin and login](https://iplocationblock.com/docs/blocking-rules/protect-admin-login/) before applying a location rule to admin access. = Does this plugin validate all the requests? = Unfortunately, no. This plugin can't handle the requests that are not parsed by WordPress. In other words, a standalone file (PHP, CGI or something executable) that is unrelated to WordPress can't be validated by this plugin even if it is in the WordPress install directory. But there's exceptions: When you enable "**Force to load WP core**" for **Plugins area** or **Themes area**, a standalone PHP file becomes to be able to be blocked. Sometimes this kind of file has some vulnerabilities. This function protects your site against such a case. = How to resolve "Sorry, your request cannot be accepted."? = If you encounter this message, review [Choose the blocked response](https://iplocationblock.com/docs/blocking-rules/blocked-response/) and the [troubleshooting guide](https://iplocationblock.com/docs/troubleshooting/). If you can't solve your issue, please let me know about it on the [support forum](https://wordpress.org/support/plugin/ip-location-block/ "View: Plugin Support « WordPress.org Forums"). Your logs in this plugin and "**Installation information**" at "**Plugin settings**" will be a great help to resolve the issue. = How to resolve issues related to ajax-requests being blocked in admin? = Check the "Admin ajax/post" option in "Back-end target settings", either disable it or whitelist the required Ajax actions. = How can I fix "Unable to write" error? = When you enable "**Force to load WP core**" options, this plugin will try to configure `.htaccess` in your `/wp-content/plugins/` and `/wp-content/themes/` directory in order to protect your site against the malicious attacks to the [OMG plugins and themes](https://iplocationblock.com/prevent-exposure-of-wp-config-php/ "Prevent exposure of wp-config.php | IP Location Block"). But some servers doesn't give read / write permission against `.htaccess` to WordPress. In this case, you can configure `.htaccess` files by your own hand instead of enabling "**Force to load WP core**" options. Please refer to "[How can I fix permission troubles?](https://iplocationblock.com/codex/how-can-i-fix-permission-troubles/ 'How can I fix permission troubles? | IP Location Block')" in order to fix this error. == Other Notes == = Known issues = * From [WordPress 4.5](https://make.wordpress.org/core/2016/03/09/comment-changes-in-wordpress-4-5/ "Comment Changes in WordPress 4.5 – Make WordPress Core"), `rel=nofollow` had no longer be attached to the links in `comment_content`. This change prevents to block "[Server Side Request Forgeries](https://www.owasp.org/index.php/Server_Side_Request_Forgery 'Server Side Request Forgery - OWASP')" (not Cross Site but a malicious internal link in the comment field). * [WordPress.com Mobile App](https://apps.wordpress.com/mobile/ "WordPress.com Apps - Mobile Apps") can't execute image uploading because of its own authentication system via XMLRPC. == Screenshots == 1. Country blocking includes a searchable picker with country and European Union shortcuts. 2. Block selected United States states or regions alongside country rules. 3. Provider management shows precision, IPv6, ASN, quota, and connection status at a glance. 4. Bot protection includes curated presets plus full control over individual crawler rules. 5. Advanced settings expose every validation target and security control when needed. 6. Statistics summarize blocked requests, countries, IP versions, and provider performance. 7. Validation logs make blocked and allowed requests easy to filter, inspect, and export. 8. Search IP Location Block to preview country, state or region, ASN, and map results. 9. Diagnostics checks configuration, provider health, compatibility, and emergency access. == Changelog == = 1.4.0 = *Release Date - 24 Aug 2026* * New: A redesigned admin with Simple and Advanced views, clearer provider setup, improved statistics, logs and search, and built-in diagnostics. The Classic interface remains available. * New: State or region blocking through the IP Location Block provider, with searchable regional rules, an EU country shortcut, a working `Region` alias, and `~` alternatives. * Improvement: The IP Location Block provider is prioritized for regional rules, while other selected providers remain available as country-level fallbacks. Provider limits and unsupported precision are now explained clearly. * New: A modern bot-rule builder with presets for verified search engines, social previews, AI crawlers, and aggressive SEO bots. Existing custom rules are preserved. * Change: Rebuilt the plugin internals with PSR-4 and scoped Composer dependencies to prevent library conflicts. * Compatibility: Requires PHP 8.1 and WordPress 6.5 or newer. WordPress 6.5 uses the Classic interface; the redesigned admin requires WordPress 6.6 or newer. * Removed: WP-ZEP, the `restrict_api` setting, and custom geolocation provider add-on registration. Legacy global classes remain available throughout the 1.x series. * Fixes: Improved precision-rule editing and cache refreshes, provider switching, local database updates, filesystem warnings, uninstall behavior, and Classic-view switching. = 1.3.9 = *Release Date - 5 Jul 2026* * Fix: Admin scripts and styles were enqueued on unrelated wp-admin pages, which could disable checkboxes on other plugins' screens (e.g. WP to Buffer). Assets now load only on IP Location Block's own screens. * Fix: Front-end "Block by location" defined DONOTCACHEPAGE on every request, disabling page caching (e.g. WP-Optimize). This is now opt-in via a new "Bypass page cache" option (default off), so caching works again. = 1.3.8 = *Release Date - 13 Mar 2026* * Fix: PHP Warnings * Fix: Deprecated jQuery calls * Add: Kinsta/WPEngine * Deprecate WP-ZEP (Zero-Day Prevention) to be removed in 1.4.0 * Test with WordPress 7.0 = 1.3.7 = *Release Date - 07 Nov 2025* * New: Add instructions to migrate to latest IP Location Block platform * New: Test with latest WordPress = 1.3.6 = *Release Date - 06 Aug 2025* * Fix: Uncaught ReferenceError: IP_LOCATION_BLOCK_AUTH is not defined * Fix: IP_Location_Block::is_user_logged_in() in certain cases * Fix: Plugins run if HASH constants are not defined = 1.3.5 = *Release Date - 20 Jul 2025* * Fix PHP warnings related to string translation * Fix PHP Fatal error related to undefined constants (eg. NONCE_KEY) = 1.3.4 = *Release Date - 07 Mar 2025* * Fix PHP warnings * Test with PHP 8.4 * Test with WordPress 6.7 and 6.8-beta1 = 1.3.3 = *Release Date - 24 Sep 2024* * Fix admin post/ajax whitelisting * Fix PHP deprecation warnings * Fix PHP array access warnings * Fix support for Divi * Whitelist additional WordPress ajax actions by default * Remove unnecessary/unused files within the maxmind php extension = 1.3.2 = *Release Date - 01 Aug 2024* * Fix deprecation warning in PHP 8.2+ * Test with WordPress 6.6 = 1.3.1 = *Release Date - 03 Apr 2024* * Drop GeoIPLookup API because - the service ceased operations. * Test with WordPress 6.5 = 1.3.0 = *Release Date - 20 Feb 2024* * Fix issue when "Front-end rules & behavior" matching rule is blacklist, response status is 30X and redirect URL is empty. It does not redirect. * Set the default blacklist redirect URL to blocked.iplocationblock.com. * Add status box in the settings screens that tells account quota, current running mode, etc. * Improve wording at few places that caused confusion. = 1.2.3 = *Release Date - 12 Nov 2023* * Prefix the css code to fix conflicts with other plugins (Woo / Super Cache, etc) * Add more sophisticated warnings when blocking rules are misconfigured or ASN is in use but the current enabled providers does not support ASN. * Exclude Divi "save-epanel" ajax action from ZEP * Fix warning triggered by the cron script = 1.2.2 = *Release Date - 01 Nov 2023* * Fix issue related to log and stats display * Fix issue that triggered alert on non-admin users (Editor and other) * Add additional two columns for CITY and STATE to Logs screen when using "IP Location Block" provider * Fix warnings when downloading Geolite2 DB * Other UI Improvements * Various Codebase improvements = 1.2.1 = *Release Date - 31 Oct 2023* * Fix SQLite logging related errors = 1.2.0 = *Release Date - 30 Oct 2023* * Precision blocking by city/state support via the native IP Location Block provider * Fixes various PHP 8.2 warnings reported on Github & forums * Codebase improvements related to external API providers * Test with WordPress 6.4 = 1.1.5 = *Release Date - 28 May 2023* * Deploy procedure hotfix = 1.1.4 = *Release Date - 28 May 2023* * Codebase improvements * Drop the IP-API.com for now until we refactor the settings and make it possible to support apis that can be used with and without key. * Fix array to string conversion when using the IPInfoDB provider * Refactor the search tab backend procedure = 1.1.3 = *Release Date - 24 Jul 2022* * Re-write the download_zip procedure to improve the external ip database download * Improved logged-in user detection when validation timing is enabled, fixes blocking issues in admin, undefined constants, etc. * Disable restrict_api by default so the external APIs will be enabled by default = 1.1.2 = *Release Date - 03 May 2022* * Fix issues with downloading local databases = 1.1.1 = *Release Date - 02 May 2022* * Fix fatal error caused by removed constant still in use = 1.1.0 = *Release Date - 01 May 2022* * Introducing premium IP Location Block REST API * Introduced new design for the provider table in Settings * Make action and filter names readable by IDEs * Fix a bug that prevented uninstalling the plugin * Fix various warnings triggered in PHP8+ = 1.0.7 = *Release Date - 21 Dec 2021* * Fix IPv6.php - add compatibility with PHP7.4+ = 1.0.6 = *Release Date - 21 Nov 2021* * Fixes broken plugin admin settings / stats pages = 1.0.5 = *Release Date - 20 Nov 2021* * Fix 307 Response Redirect loop * Fix wrong cron info in admin settings * Fix Undefined array key warnings in PHP8 * FIx undefined IP_LOCATION_BLOCK_AUTH in some environments. = 1.0.4 = *Release Date - 08 Jun 2021* * Fix bugs related to the asn blocking feature * Trigger re-download of the asn database once the ASN feature is enabled via settings * Improved migration from legacy process, unset unused settings = 1.0.3 = *Release Date - 18 May 2021* * Add "Migrate from IP Geo Block" option if IP Geo Block settings are detected. This will copy the IP Geo Block settings. * Replaced the deprecated jQuery.trim() calls with String.trim() * Fix error when deleting the Emergency link using the "Delete current link" button. = 1.0.2 = *Release Date - 18 May 2021* * Fix mu-plugins option = 1.0.1 = *Release Date - 17 May 2021* * Drop ipdata.co API * Fixed the search tool = 1.0.0 = *Release Date - 17 May 2021* * Added PHP8 compatibility * Added support for Maxmind GeoLite2 database with api key * Replaced Google Maps with OSM/Leaflet * Updated DNS2 Library to support PHP8 * Fixed IP2Location provider errors. Update to the latest version * Fixed various errors caught in error logs triggered in the newer PHP versions * Fixed the ipinfo.io API * Fixed the ipdata.co API == Upgrade Notice == As of version 1.2.0, the plugin supports state or region matching.