iQ Block Country - Version 1.2.16

Version Description

  • Fix: DBVERSION error
Download this release

Release Info

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

Code changes from version 1.2.15 to 1.2.16

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.15
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.
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.
libs/blockcountry-logging.php CHANGED
@@ -53,9 +53,9 @@ function iqblockcountry_clean_db()
53
 
54
  function iqblockcountry_update_db_check()
55
  {
56
- if (get_site_option('blockcountry_dbversion') != DBVERSION) {
57
  iqblockcountry_install_db();
58
- update_option("blockcountry_dbversion", DBVERSION);
59
  }
60
  }
61
 
53
 
54
  function iqblockcountry_update_db_check()
55
  {
56
+ if (get_site_option('blockcountry_dbversion') != IQDBVERSION) {
57
  iqblockcountry_install_db();
58
+ update_option("blockcountry_dbversion", IQDBVERSION);
59
  }
60
  }
61
 
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.15
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.15 =
288
  * Change: A lot of internal code changes to make it more in line of WordPress Best Practices
289
  * Change: Added Privacy Policy of GeoIP API / Admin API Key
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
 
285
  == Changelog ==
286
 
287
+ = 1.2.16 =
288
+
289
+ * Fix: DBVERSION error
290
+
291
  = 1.2.15 =
292
  * Change: A lot of internal code changes to make it more in line of WordPress Best Practices
293
  * Change: Added Privacy Policy of GeoIP API / Admin API Key