iQ Block Country - Version 1.1.36

Version Description

  • Bugfix: Smashed bug on backend
Download this release

Release Info

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

Code changes from version 1.1.35 to 1.1.36

Files changed (2) hide show
  1. iq-block-country.php +5 -3
  2. readme.txt +4 -0
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.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.
@@ -275,11 +275,13 @@ register_uninstall_hook(__file__, 'iqblockcountry_uninstall');
275
 
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') {
283
  global $wpdb;
284
  $output = "";
285
  $table_name = $wpdb->prefix . "iqblock_logging";
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.36
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.
275
 
276
  if (isset($_POST['action']))
277
  {
278
+ $iqaction = filter_var($_POST['action'],FILTER_SANITIZE_STRING);
279
+ if ($iqaction == 'csvoutput') {
280
 
281
  if (is_user_logged_in() && is_admin() && check_admin_referer( 'iqblockcountrycsv' ))
282
  {
283
+ // $iqaction = filter_var($_POST['action'],FILTER_SANITIZE_STRING);
284
+ // if ($iqaction == 'csvoutput') {
285
  global $wpdb;
286
  $output = "";
287
  $table_name = $wpdb->prefix . "iqblock_logging";
readme.txt CHANGED
@@ -213,6 +213,10 @@ 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.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)
213
 
214
  == Changelog ==
215
 
216
+ = 1.1.36 =
217
+
218
+ * Bugfix: Smashed bug on backend
219
+
220
  = 1.1.35 =
221
 
222
  * Change: Added WPRocket to list of caching plugins that are not compatible with iQ Block Country (thanks to Mike Reed for supplying the info)