You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides geographic information detected by an IP address.
11
+
Provides geographic information detected by an IP adress.
12
12
13
13
## Description ##
14
14
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)).
16
16
17
17
= Features: =
18
18
@@ -28,7 +28,7 @@ Provides geographic information detected by an IP address. This can be used in t
28
28
*`geoip_detect2_get_info_from_ip($ip, $locales = array('en'), $options = array())`: Lookup Geo-Information of the specified IP
29
29
*`geoip_detect2_get_info_from_current_ip($locales = array('en'), $options = array())`: Lookup Geo-Information of the current website user
30
30
*`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
32
32
*`geoip_detect2_get_client_ip()`: Get client IP (even if it is behind a reverse proxy)
33
33
* For the property names, see the results of a specific IP in the wordpress backend (under *Tools > Geolocation IP Detection*).
34
34
* 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
121
121
1. Lookup page (under Tools > Geolocation Lookup)
122
122
2. Options page (under Preferences > Geolocation IP Detection)
123
123
124
+
= 5.6.0 =
125
+
126
+
This update removes the deprecated shortcode [geoip_detect ...] (read the changelog for more details)
127
+
124
128
= 5.5.0 =
125
129
126
130
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.
131
135
132
136
## Changelog ##
133
137
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.
135
140
* FIX: Compatibility with Wordpress 6.7 (Textdomain loading)
141
+
* Library updates
136
142
137
143
= 5.5.0 =
138
144
* 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`)
0 commit comments