Version Description
Download this release
Release Info
Developer | niteoweb |
Plugin | Spider Blocker |
Version | 1.0.10 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.0.10
- index.php +4 -2
- readme.txt +2 -2
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.
|
7 |
* Runtime: 5.3+
|
8 |
* Author: Easy Blog Networks
|
9 |
* Author URI: www.easyblognetworks.com
|
@@ -14,7 +14,9 @@ if ( ! function_exists( 'apache_get_version' ) ) {
|
|
14 |
if ( stristr( $_ENV["SERVER_SOFTWARE"], 'Apache' ) ) {
|
15 |
return $_ENV["SERVER_SOFTWARE"];
|
16 |
}
|
17 |
-
|
|
|
|
|
18 |
return false;
|
19 |
}
|
20 |
}
|
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.10
|
7 |
* Runtime: 5.3+
|
8 |
* Author: Easy Blog Networks
|
9 |
* Author URI: www.easyblognetworks.com
|
14 |
if ( stristr( $_ENV["SERVER_SOFTWARE"], 'Apache' ) ) {
|
15 |
return $_ENV["SERVER_SOFTWARE"];
|
16 |
}
|
17 |
+
if ( stristr( $_SERVER["SERVER_SOFTWARE"], 'Apache' ) ) {
|
18 |
+
return $_SERVER["SERVER_SOFTWARE"];
|
19 |
+
}
|
20 |
return false;
|
21 |
}
|
22 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: niteoweb
|
3 |
Tags: seo, block, bots, htaccess, apache, secure
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.0.
|
7 |
|
8 |
SpiderBlocker will block most common bots that consume bandwidth and slow down your server.
|
9 |
|
2 |
Contributors: niteoweb
|
3 |
Tags: seo, block, bots, htaccess, apache, secure
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.5
|
6 |
+
Stable tag: 1.0.10
|
7 |
|
8 |
SpiderBlocker will block most common bots that consume bandwidth and slow down your server.
|
9 |
|