Skip to content

Commit 1861282

Browse files
author
Benjamin Pick
committed
Release 5.6.0
1 parent c262477 commit 1861282

File tree

7 files changed

+450
-1303
lines changed

7 files changed

+450
-1303
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Tests: [![Build Status](https://api.travis-ci.org/yellowtree/geoip-detect.svg?br
88

99
* **Donate Link:** https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BSYUZHS8FH3CL
1010

11-
Provides geographic information detected by an IP address.
11+
Provides geographic information detected by an IP adress.
1212

1313
## Description ##
1414

15-
Provides geographic information detected by an IP address. This can be used in themes or other plugins, as a shortcode, or via CSS body classes. The city & country names are translated in different languages ([supported languages](https://dev.maxmind.com/geoip/geoip2/web-services/#Languages-8)).
15+
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. The city & country names are translated in different languages ([supported languages](https://dev.maxmind.com/geoip/geoip2/web-services/#Languages-8)).
1616

1717
= Features: =
1818

@@ -28,7 +28,7 @@ Provides geographic information detected by an IP address. This can be used in t
2828
* `geoip_detect2_get_info_from_ip($ip, $locales = array('en'), $options = array())`: Lookup Geo-Information of the specified IP
2929
* `geoip_detect2_get_info_from_current_ip($locales = array('en'), $options = array())`: Lookup Geo-Information of the current website user
3030
* `geoip_detect2_get_current_source_description(...)`: Return a human-readable label of the currently chosen source.
31-
* `geoip_detect2_get_external_ip_adress()`: Fetch the internet address of the webserver
31+
* `geoip_detect2_get_external_ip_adress()`: Fetch the internet adress of the webserver
3232
* `geoip_detect2_get_client_ip()`: Get client IP (even if it is behind a reverse proxy)
3333
* For the property names, see the results of a specific IP in the wordpress backend (under *Tools > Geolocation IP Detection*).
3434
* You can include these properties into your posts and pages by using the shortcode `[geoip_detect2 property="country.name" default="(country could not be detected)" lang="en"]` (where 'country.name' can be one of the other property names as well, and 'default' and 'lang' are optional).
@@ -121,6 +121,10 @@ See [Documentation](https://github.com/yellowtree/geoip-detect/wiki) for more in
121121
1. Lookup page (under Tools > Geolocation Lookup)
122122
2. Options page (under Preferences > Geolocation IP Detection)
123123

124+
= 5.6.0 =
125+
126+
This update removes the deprecated shortcode [geoip_detect ...] (read the changelog for more details)
127+
124128
= 5.5.0 =
125129

126130
When using the default datasource "hostip.info", the region code (i.e. CA) is now correctly moved to the property `mostSpecificSubdivision` (previously, it was part of the property `city`)
@@ -131,8 +135,10 @@ If you are using AJAX mode, please read the changelog.
131135

132136
## Changelog ##
133137

134-
= 5.5.1 =
138+
= 5.6.0 =
139+
* 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.
135140
* FIX: Compatibility with Wordpress 6.7 (Textdomain loading)
141+
* Library updates
136142

137143
= 5.5.0 =
138144
* FIX [!]: In the datasource "hostip.info", the region code (i.e. CA) is now correctly moved to the property `mostSpecificSubdivision` (previously, it was part of the property `city`)

vendor/composer/autoload_classmap.php

Lines changed: 206 additions & 629 deletions
Large diffs are not rendered by default.

vendor/composer/autoload_files.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,5 @@
1212
'320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
1313
'8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php',
1414
'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
15-
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
1615
'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php',
17-
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
18-
'38fbb71d514eee25044aa9d94851ee76' => $vendorDir . '/wp-phpunit/wp-phpunit/__loaded.php',
19-
'7d3b315c4f303f2fc14aca642a738e50' => $vendorDir . '/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php',
2016
);

vendor/composer/autoload_psr4.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@
1515
'Symfony\\Component\\PropertyInfo\\' => array($vendorDir . '/symfony/property-info'),
1616
'Symfony\\Component\\PropertyAccess\\' => array($vendorDir . '/symfony/property-access'),
1717
'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
18-
'Roots\\Composer\\' => array($vendorDir . '/roots/wordpress-core-installer/src'),
19-
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
2018
'MaxMind\\WebService\\' => array($vendorDir . '/maxmind/web-service-common/src/WebService'),
2119
'MaxMind\\Exception\\' => array($vendorDir . '/maxmind/web-service-common/src/Exception'),
2220
'MaxMind\\Db\\' => array($vendorDir . '/maxmind-db/reader/src/MaxMind/Db'),
2321
'GeoIp2\\' => array($vendorDir . '/geoip2/geoip2/src'),
24-
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
25-
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
2622
'Composer\\CaBundle\\' => array($vendorDir . '/composer/ca-bundle/src'),
2723
);

vendor/composer/autoload_real.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25+
require __DIR__ . '/platform_check.php';
26+
2527
spl_autoload_register(array('ComposerAutoloaderInit18fc54d84025f2e5d2b2ac2dd487f107', 'loadClassLoader'), true, true);
2628
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
2729
spl_autoload_unregister(array('ComposerAutoloaderInit18fc54d84025f2e5d2b2ac2dd487f107', 'loadClassLoader'));

0 commit comments

Comments
 (0)