IP Geo Block - Version 3.0.17.3

Version Description

Sorry for the frequent update. * Fix issue: Remove wp_user_roles from "Metadata Exploit Protection" which was equipped in 3.0.17 because some plugins/themes would add their own role and capability without admin authority.

Download this release

Release Info

Developer tokkonopapa
Plugin Icon 128x128 IP Geo Block
Version 3.0.17.3
Comparing to
See all releases

Code changes from version 3.0.17.2 to 3.0.17.3

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: security, firewall, brute force, vulnerability, login, wp-admin, admin, ajax, xmlrpc, comment, pingback, trackback, spam, IP address, geo, geolocation, buddypress, bbPress
5
  Requires at least: 3.7
6
  Tested up to: 5.0.2
7
- Stable tag: 3.0.17.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -234,6 +234,10 @@ Please refer to "[How can I fix permission troubles?](https://www.ipgeoblock.com
234
 
235
  == Changelog ==
236
 
 
 
 
 
237
  = 3.0.17.2 =
238
  * **Fix issue:** Fixed the fatal error under certain condition.
239
 
4
  Tags: security, firewall, brute force, vulnerability, login, wp-admin, admin, ajax, xmlrpc, comment, pingback, trackback, spam, IP address, geo, geolocation, buddypress, bbPress
5
  Requires at least: 3.7
6
  Tested up to: 5.0.2
7
+ Stable tag: 3.0.17.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
234
 
235
  == Changelog ==
236
 
237
+ = 3.0.17.3 =
238
+ Sorry for the frequent update.
239
+ * **Fix issue:** Remove `wp_user_roles` from "Metadata Exploit Protection" which was equipped in 3.0.17 because some plugins/themes would add their own role and capability without admin authority.
240
+
241
  = 3.0.17.2 =
242
  * **Fix issue:** Fixed the fatal error under certain condition.
243
 
classes/class-ip-geo-block-opts.php CHANGED
@@ -201,7 +201,7 @@ class IP_Geo_Block_Opts {
201
  'update_site_option' => FALSE,
202
  ),
203
  'metadata' => array(
204
- 'pre_update_option' => array( 'siteurl', 'admin_email', 'users_can_register', 'default_role', 'wp_user_roles' ), // @since 2.0.0 `manage_options`
205
  'pre_update_site_option' => array( 'siteurl', 'admin_email', 'registration' ), // @since 3.0.0 `manage_network_options`
206
  ),
207
  );
201
  'update_site_option' => FALSE,
202
  ),
203
  'metadata' => array(
204
+ 'pre_update_option' => array( 'siteurl', 'admin_email', 'users_can_register', 'default_role' ), // @since 2.0.0 `manage_options`
205
  'pre_update_site_option' => array( 'siteurl', 'admin_email', 'registration' ), // @since 3.0.0 `manage_network_options`
206
  ),
207
  );
classes/class-ip-geo-block.php CHANGED
@@ -15,7 +15,7 @@ class IP_Geo_Block {
15
  * Unique identifier for this plugin.
16
  *
17
  */
18
- const VERSION = '3.0.17.2';
19
  const GEOAPI_NAME = 'ip-geo-api';
20
  const PLUGIN_NAME = 'ip-geo-block';
21
  const OPTION_NAME = 'ip_geo_block_settings';
15
  * Unique identifier for this plugin.
16
  *
17
  */
18
+ const VERSION = '3.0.17.3';
19
  const GEOAPI_NAME = 'ip-geo-api';
20
  const PLUGIN_NAME = 'ip-geo-block';
21
  const OPTION_NAME = 'ip_geo_block_settings';
ip-geo-block.php CHANGED
@@ -13,7 +13,7 @@
13
  * Plugin Name: IP Geo Block
14
  * Plugin URI: https://wordpress.org/plugins/ip-geo-block/
15
  * Description: It blocks any spams, login attempts and malicious access to the admin area posted from outside your nation, and also prevents zero-day exploit.
16
- * Version: 3.0.17.2
17
  * Author: tokkonopapa
18
  * Author URI: https://www.ipgeoblock.com/
19
  * Text Domain: ip-geo-block
13
  * Plugin Name: IP Geo Block
14
  * Plugin URI: https://wordpress.org/plugins/ip-geo-block/
15
  * Description: It blocks any spams, login attempts and malicious access to the admin area posted from outside your nation, and also prevents zero-day exploit.
16
+ * Version: 3.0.17.3
17
  * Author: tokkonopapa
18
  * Author URI: https://www.ipgeoblock.com/
19
  * Text Domain: ip-geo-block