Spider Blocker - Version 1.0.16

Version Description

Download this release

Release Info

Developer niteoweb
Plugin Icon 128x128 Spider Blocker
Version 1.0.16
Comparing to
See all releases

Code changes from version 1.0.15 to 1.0.16

Files changed (2) hide show
  1. index.php +2 -2
  2. readme.txt +1 -1
index.php CHANGED
@@ -3,7 +3,7 @@ namespace Niteoweb\SpiderBlocker;
3
  /**
4
  * Plugin Name: Spider Blocker
5
  * Description: Spider Blocker will block most common bots that consume bandwidth and slow down your server.
6
- * Version: 1.0.15
7
  * Runtime: 5.3+
8
  * Author: Easy Blog Networks
9
  * Author URI: www.easyblognetworks.com
@@ -456,7 +456,7 @@ class SpiderBlocker
456
  private function getBots()
457
  {
458
  $data = get_option(self::OptionName);
459
- if($data && is_array($data) && count($data) > 0){
460
  return maybe_unserialize($data);
461
  }
462
  return $this->default_bots;
3
  /**
4
  * Plugin Name: Spider Blocker
5
  * Description: Spider Blocker will block most common bots that consume bandwidth and slow down your server.
6
+ * Version: 1.0.16
7
  * Runtime: 5.3+
8
  * Author: Easy Blog Networks
9
  * Author URI: www.easyblognetworks.com
456
  private function getBots()
457
  {
458
  $data = get_option(self::OptionName);
459
+ if($data && count($data) > 0){
460
  return maybe_unserialize($data);
461
  }
462
  return $this->default_bots;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: niteoweb
3
  Tags: seo, block, bots, htaccess, apache, secure
4
  Requires at least: 4.0
5
  Tested up to: 4.7.3
6
- Stable tag: 1.0.15
7
 
8
  SpiderBlocker will block most common bots that consume bandwidth and slow down your server.
9
 
3
  Tags: seo, block, bots, htaccess, apache, secure
4
  Requires at least: 4.0
5
  Tested up to: 4.7.3
6
+ Stable tag: 1.0.16
7
 
8
  SpiderBlocker will block most common bots that consume bandwidth and slow down your server.
9