GeoIP Detection - Version 2.9.2

Version Description

Hotfix: In 2.9.1, this plugin was incompatible with other Contact Form 7-Special Mailtags (https://contactform7.com/special-mail-tags/).

Download this release

Release Info

Developer benjaminpick
Plugin Icon 128x128 GeoIP Detection
Version 2.9.2
Comparing to
See all releases

Code changes from version 2.9.1 to 2.9.2

Files changed (3) hide show
  1. geoip-detect.php +2 -2
  2. readme.txt +8 -1
  3. shortcode.php +1 -1
geoip-detect.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.yellowtree.de
5
  Description: Retrieving Geo-Information using the Maxmind GeoIP (Lite) Database.
6
  Author: Yellow Tree (Benjamin Pick)
7
  Author URI: http://www.yellowtree.de
8
- Version: 2.9.1
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Text Domain: geoip-detect
@@ -16,7 +16,7 @@ Requires WP: 3.5
16
  Requires PHP: 5.4
17
  */
18
 
19
- define('GEOIP_DETECT_VERSION', '2.9.1');
20
 
21
  /*
22
  Copyright 2013-2018 Yellow Tree, Siegen, Germany
5
  Description: Retrieving Geo-Information using the Maxmind GeoIP (Lite) Database.
6
  Author: Yellow Tree (Benjamin Pick)
7
  Author URI: http://www.yellowtree.de
8
+ Version: 2.9.2
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Text Domain: geoip-detect
16
  Requires PHP: 5.4
17
  */
18
 
19
+ define('GEOIP_DETECT_VERSION', '2.9.2');
20
 
21
  /*
22
  Copyright 2013-2018 Yellow Tree, Siegen, Germany
readme.txt CHANGED
@@ -48,7 +48,7 @@ See [API Documentation](https://github.com/yellowtree/wp-geoip-detect/wiki/API-D
48
  * You could show the store nearest to your customer
49
  * You show or hide content specific to a geographic target group
50
  * Etc. ... You tell me! I'm rather curious what you'll do with this plugin!
51
- * Be careful to comply to the applicable laws. For example, it is illegal in the EU to change prices based on GeoIP-Detection ... See Regulation (EU) 2018/302 (going into effect 03 Dec 2018).
52
 
53
  **System Requirements**: You will need at least PHP 5.4.
54
 
@@ -101,6 +101,10 @@ Does `geoip_detect2_get_info_from_current_ip()` return the same country, regardl
101
 
102
  == Upgrade Notice ==
103
 
 
 
 
 
104
  = 2.9.1 =
105
 
106
  Online Shops: Be careful to comply to (EU) 2018/302 (going into effect 03 Dec 2018) in how you use this plugin !
@@ -112,6 +116,9 @@ New: Shortcode for showing/hiding content!
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 2.9.1 =
116
  * NEW: Add ContactForm7-Mailtags so that the user information formatting can be customized: `geoip_detect2_get_client_ip`, `geoip_detect2_get_current_source_description`, `geoip_detect2_property_country`, `geoip_detect2_property_state`, `geoip_detect2_property_city`. Of course you can still use `geoip_detect2_user_info` as shortcode for all these informations.
117
  * FIX: On some server, the plugin had wrongly assumed that PHP was compiled without IPv6-support.
48
  * You could show the store nearest to your customer
49
  * You show or hide content specific to a geographic target group
50
  * Etc. ... You tell me! I'm rather curious what you'll do with this plugin!
51
+ * Be careful to comply to the applicable laws. For example Regulation (EU) 2018/302 (going into effect 03 Dec 2018)...
52
 
53
  **System Requirements**: You will need at least PHP 5.4.
54
 
101
 
102
  == Upgrade Notice ==
103
 
104
+ = 2.9.2 =
105
+
106
+ Hotfix: In 2.9.1, this plugin was incompatible with other Contact Form 7-Special Mailtags (https://contactform7.com/special-mail-tags/).
107
+
108
  = 2.9.1 =
109
 
110
  Online Shops: Be careful to comply to (EU) 2018/302 (going into effect 03 Dec 2018) in how you use this plugin !
116
 
117
  == Changelog ==
118
 
119
+ = 2.9.2 =
120
+ * FIX: ContactForm7-Mailtag disabled mailtags from other plugins.
121
+
122
  = 2.9.1 =
123
  * NEW: Add ContactForm7-Mailtags so that the user information formatting can be customized: `geoip_detect2_get_client_ip`, `geoip_detect2_get_current_source_description`, `geoip_detect2_property_country`, `geoip_detect2_property_state`, `geoip_detect2_property_city`. Of course you can still use `geoip_detect2_user_info` as shortcode for all these informations.
124
  * FIX: On some server, the plugin had wrongly assumed that PHP was compiled without IPv6-support.
shortcode.php CHANGED
@@ -366,7 +366,7 @@ function geoip_detect2_shortcode_user_info_wpcf7($output, $name, $isHtml) {
366
  break;
367
 
368
  default:
369
- return '';
370
  }
371
 
372
  /**
366
  break;
367
 
368
  default:
369
+ return $output;
370
  }
371
 
372
  /**