Version Description
- Smashed a bug where the homepage was unprotected due to missing check.
Download this release
Release Info
Developer | iqpascal |
Plugin | iQ Block Country |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- iq-block-country.php +6 -4
- readme.txt +5 -1
iq-block-country.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
-
Version: 1.1.
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.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.
|
@@ -305,6 +305,8 @@ require_once('libs/blockcountry-checks.php');
|
|
305 |
require_once('libs/blockcountry-settings.php');
|
306 |
require_once('libs/blockcountry-validation.php');
|
307 |
require_once('libs/blockcountry-logging.php');
|
|
|
|
|
308 |
|
309 |
/*
|
310 |
* Main plugin works.
|
@@ -316,8 +318,8 @@ define("IPV4DB","http://geolite.maxmind.com/download/geoip/database/GeoLiteCount
|
|
316 |
define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
|
317 |
define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
|
318 |
define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
|
319 |
-
define("VERSION","1.1.
|
320 |
-
define("DBVERSION","
|
321 |
define("PLUGINPATH",plugin_dir_path( __FILE__ ));
|
322 |
|
323 |
|
@@ -354,4 +356,4 @@ add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracki
|
|
354 |
add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
|
355 |
|
356 |
|
357 |
-
?>
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
+
Version: 1.1.8
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.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.
|
305 |
require_once('libs/blockcountry-settings.php');
|
306 |
require_once('libs/blockcountry-validation.php');
|
307 |
require_once('libs/blockcountry-logging.php');
|
308 |
+
require_once('libs/blockcountry-tracking.php');
|
309 |
+
|
310 |
|
311 |
/*
|
312 |
* Main plugin works.
|
318 |
define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
|
319 |
define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
|
320 |
define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
|
321 |
+
define("VERSION","1.1.8");
|
322 |
+
define("DBVERSION","118");
|
323 |
define("PLUGINPATH",plugin_dir_path( __FILE__ ));
|
324 |
|
325 |
|
356 |
add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
|
357 |
|
358 |
|
359 |
+
?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.redeo.nl/plugins/donate
|
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
Tested up to: 3.8.2
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -177,6 +177,10 @@ If storing or sharing an IP address is illegal in your country do not select thi
|
|
177 |
|
178 |
== Changelog ==
|
179 |
|
|
|
|
|
|
|
|
|
180 |
= 1.1.7 =
|
181 |
|
182 |
* Added Russian (ru_RU) translation by Maxim
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
Tested up to: 3.8.2
|
7 |
+
Stable tag: 1.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
177 |
|
178 |
== Changelog ==
|
179 |
|
180 |
+
= 1.1.8 =
|
181 |
+
|
182 |
+
* Smashed a bug where the homepage was unprotected due to missing check.
|
183 |
+
|
184 |
= 1.1.7 =
|
185 |
|
186 |
* Added Russian (ru_RU) translation by Maxim
|