iQ Block Country - Version 1.2.17

Version Description

  • Fix: Other small error
Download this release

Release Info

Developer iqpascal
Plugin Icon 128x128 iQ Block Country
Version 1.2.17
Comparing to
See all releases

Code changes from version 1.2.16 to 1.2.17

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
- Version: 1.2.16
6
  Author: Pascal
7
  Author URI: https://webence.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
@@ -175,8 +175,8 @@ define("GEOIPAPIURLASIA", "https://asia.geoip.webence.nl/geoipapi.php");
175
  define("GEOIPAPICHECKURL", "https://eu.geoip.webence.nl/geoipapi-keycheck.php");
176
  define("GEOIPAPICHECKUSAGEURL", "https://eu.geoip.webence.nl/geoipapi-usage.php");
177
  define("ADMINAPICHECKURL", "https://tracking.webence.nl/adminapi-keycheck.php");
178
- define("IQDBVERSION", "1.2.15");
179
- define("IQDBDBVERSION", "122");
180
  define("IQBCPLUGINPATH", plugin_dir_path(__FILE__));
181
 
182
 
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
+ Version: 1.2.17
6
  Author: Pascal
7
  Author URI: https://webence.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
175
  define("GEOIPAPICHECKURL", "https://eu.geoip.webence.nl/geoipapi-keycheck.php");
176
  define("GEOIPAPICHECKUSAGEURL", "https://eu.geoip.webence.nl/geoipapi-usage.php");
177
  define("ADMINAPICHECKURL", "https://tracking.webence.nl/adminapi-keycheck.php");
178
+ define("IQVERSION", "1.2.15");
179
+ define("IQDBVERSION", "122");
180
  define("IQBCPLUGINPATH", plugin_dir_path(__FILE__));
181
 
182
 
libs/blockcountry-settings.php CHANGED
@@ -159,7 +159,7 @@ function iqblockcountry_get_options_arr()
159
  */
160
  function iqblockcountry_set_defaults()
161
  {
162
- update_option('blockcountry_version', VERSION);
163
  $iqbc_countrylist = iqblockcountry_get_isocountries();
164
  $iqbc_ip_address = iqblockcountry_get_ipaddress();
165
  $usercountry = iqblockcountry_check_ipaddress($iqbc_ip_address);
159
  */
160
  function iqblockcountry_set_defaults()
161
  {
162
+ update_option('blockcountry_version', IQDBVERSION);
163
  $iqbc_countrylist = iqblockcountry_get_isocountries();
164
  $iqbc_ip_address = iqblockcountry_get_ipaddress();
165
  $usercountry = iqblockcountry_check_ipaddress($iqbc_ip_address);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webence.nl/plugins/donate
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, allow list, block list, security
5
  Requires at least: 3.5.2
6
  Tested up to: 6.0
7
- Stable tag: 1.2.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 7.0
@@ -284,6 +284,10 @@ Privacy policy regarding this service specific can be found here: https://webenc
284
 
285
  == Changelog ==
286
 
 
 
 
 
287
  = 1.2.16 =
288
 
289
  * Fix: DBVERSION error
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, allow list, block list, security
5
  Requires at least: 3.5.2
6
  Tested up to: 6.0
7
+ Stable tag: 1.2.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 7.0
284
 
285
  == Changelog ==
286
 
287
+ = 1.2.17 =
288
+
289
+ * Fix: Other small error
290
+
291
  = 1.2.16 =
292
 
293
  * Fix: DBVERSION error