iQ Block Country - Version 1.1.35

Version Description

  • Change: Added WPRocket to list of caching plugins that are not compatible with iQ Block Country (thanks to Mike Reed for supplying the info)
  • New: Added Baidu to Search Engines list
  • New: Added Google Site Verification to the search engines list
  • New: Added Google Search Console to the search engines list
  • Change: Only displays warning about incompatible caching plugins in case frontend blocking is selected.
  • New: You can now also block individual post tags
  • Change: Fixed small security issue with downloading the statistics as CSV file (Thanks to Benjamin Pick for reporting)
Download this release

Release Info

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

Code changes from version 1.1.34 to 1.1.35

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://www.webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
- Version: 1.1.34
6
  Author: Pascal
7
  Author URI: https://www.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.
@@ -276,7 +276,7 @@ register_uninstall_hook(__file__, 'iqblockcountry_uninstall');
276
  if (isset($_POST['action']))
277
  {
278
 
279
- if (is_user_logged_in() && is_admin())
280
  {
281
  $iqaction = filter_var($_POST['action'],FILTER_SANITIZE_STRING);
282
  if ($iqaction == 'csvoutput') {
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://www.webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
+ Version: 1.1.35
6
  Author: Pascal
7
  Author URI: https://www.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.
276
  if (isset($_POST['action']))
277
  {
278
 
279
+ if (is_user_logged_in() && is_admin() && check_admin_referer( 'iqblockcountrycsv' ))
280
  {
281
  $iqaction = filter_var($_POST['action'],FILTER_SANITIZE_STRING);
282
  if ($iqaction == 'csvoutput') {
libs/blockcountry-settings.php CHANGED
@@ -1563,7 +1563,7 @@ function iqblockcountry_settings_logging()
1563
  <input name="csv_nonce" type="hidden" value="<?php echo wp_create_nonce('csv_nonce'); ?>" />
1564
  <?php
1565
  echo '<div class="submit"><input type="submit" name="submit" value="' . __( 'Download as CSV file', 'iq-block-country' ) . '" /></div>';
1566
- wp_nonce_field('iqblockcountry');
1567
  echo '</form>';
1568
  }
1569
  else
1563
  <input name="csv_nonce" type="hidden" value="<?php echo wp_create_nonce('csv_nonce'); ?>" />
1564
  <?php
1565
  echo '<div class="submit"><input type="submit" name="submit" value="' . __( 'Download as CSV file', 'iq-block-country' ) . '" /></div>';
1566
+ wp_nonce_field('iqblockcountrycsv');
1567
  echo '</form>';
1568
  }
1569
  else
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.webence.nl/plugins/donate
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist, security
5
  Requires at least: 3.5.2
6
  Tested up to: 4.6.1
7
- Stable tag: 1.1.34
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -213,7 +213,7 @@ As the basic rule is to block all and every post you have to configure this in a
213
 
214
  == Changelog ==
215
 
216
- = 1.1.34 =
217
 
218
  * Change: Added WPRocket to list of caching plugins that are not compatible with iQ Block Country (thanks to Mike Reed for supplying the info)
219
  * New: Added Baidu to Search Engines list
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist, security
5
  Requires at least: 3.5.2
6
  Tested up to: 4.6.1
7
+ Stable tag: 1.1.35
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
213
 
214
  == Changelog ==
215
 
216
+ = 1.1.35 =
217
 
218
  * Change: Added WPRocket to list of caching plugins that are not compatible with iQ Block Country (thanks to Mike Reed for supplying the info)
219
  * New: Added Baidu to Search Engines list