Geolocation IP Detection source code
By Benjamin Pick, on WordPress.org since 2013. 20,000+ active installs.
Provides geographic information detected by an IP adress. This can be used in themes or other plugins, as a shortcode, or via CSS body classes. Below is its source code for every one of its 54 releases, what changed in the latest one, and how often it ships.
What changed in 5.6.4
Released Jun 3, 2026, 1 day after 5.6.3- FIX: Lookup / Settings pages do not say “Sorry, you are not allowed to access this page” anymore (Regression of 5.6.3)
- FIX: Automatic update works again (Regression of 5.6.2)
10 files changed since 5.6.3: 10 modified, 0 added, 0 removed.
- admin-ui.php modified, +120 bytes
- data-sources/auto.php modified, -17 bytes
- data-sources/manual.php modified, -13 bytes
- geoip-detect.php modified, same size
- init.php modified, -13 bytes
- readme.txt modified, +264 bytes
- vendor/composer/installed.php modified, same size
- views/client-ip.php modified, -34 bytes
- views/lookup.php modified, -42 bytes
- views/options.php modified, -116 bytes
Release history
54 releases since December 2014- 5.6.4 Jun 3, 2026 FIX: Lookup / Settings pages do not say “Sorry, you are not allowed to access this page” anymore (Regression of 5.6.3)
- 5.6.3 Jun 2, 2026 FIX: Compatibility with WordPress 7.0 (Command Palette)
- 5.6.2 May 14, 2026 UI: Showing dates now respect the wordpress timezone setting
- 5.6.1 Oct 29, 2025 FIX [!]: Remove deprecated shortcode [geoip_detect] (Security – CVE-2025-57993). If you are still using it, use [geoip_detect2 …] instead, you might have to change the property name.
- 5.6.0 Oct 29, 2025
Source of 5.6.4
352 files- data-sources
- js
- languages
- lib
- shortcodes
- vendor
- views
- CONTRIBUTING.md
- LICENSE
- SECURITY.md
- admin-ui.php
- ajax.php
- api-stubs.php
- api.php
- api_shortcodes.php
- changelog.txt
- check_compatibility.php
- check_requirements.php
- composer.json
- deprecated.php
- filter.php
- geoip-detect-lib.php
- geoip-detect.php
- init.php
- legacy-api.php
- package.json
- readme.txt
- screenshot-1.png
- screenshot-2.png
- updater.php
- upgrade-plugin.php