Version Description
Download this release
Release Info
Developer | AITpro |
Plugin | BulletProof Security |
Version | 2.2 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.2
- admin/htaccess/secure.htaccess +1 -1
- admin/htaccess/wpadmin-secure.htaccess +1 -1
- bulletproof-security.php +4 -4
- includes/login-security.php +4 -3
- readme.txt +2 -2
admin/htaccess/secure.htaccess
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# BULLETPROOF 2.
|
2 |
|
3 |
# PHP/PHP.INI HANDLER/CACHE CODE
|
4 |
# Use BPS Custom Code to add php/php.ini Handler and Cache htaccess code and to save it permanently.
|
1 |
+
# BULLETPROOF 2.2 SECURE .HTACCESS
|
2 |
|
3 |
# PHP/PHP.INI HANDLER/CACHE CODE
|
4 |
# Use BPS Custom Code to add php/php.ini Handler and Cache htaccess code and to save it permanently.
|
admin/htaccess/wpadmin-secure.htaccess
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# BULLETPROOF 2.
|
2 |
|
3 |
# DO NOT ADD URL REWRITING IN THIS FILE OR WORDPRESS WILL BREAK
|
4 |
# RewriteRule ^(.*)$ - [F] works in /wp-admin without breaking WordPress
|
1 |
+
# BULLETPROOF 2.2 WP-ADMIN SECURE .HTACCESS
|
2 |
|
3 |
# DO NOT ADD URL REWRITING IN THIS FILE OR WORDPRESS WILL BREAK
|
4 |
# RewriteRule ^(.*)$ - [F] works in /wp-admin without breaking WordPress
|
bulletproof-security.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://forum.ait-pro.com/read-me-first/
|
|
5 |
Text Domain: bulletproof-security
|
6 |
Domain Path: /languages/
|
7 |
Description: <strong>Feature Highlights:</strong> Setup Wizard • .htaccess Website Security Protection (Firewalls) • Security Logging|HTTP Error Logging • DB Backup • DB Table Prefix Changer • Login Security & Monitoring • Idle Session Logout (ISL) • Auth Cookie Expiration (ACE) • UI Theme Skin Changer • System Info: Extensive System, Server and Security Status Information • FrontEnd|BackEnd Maintenance Mode
|
8 |
-
Version: 2.
|
9 |
Author: AITpro | Edward Alexander
|
10 |
Author URI: https://forum.ait-pro.com/read-me-first/
|
11 |
*/
|
@@ -28,9 +28,9 @@ Author URI: https://forum.ait-pro.com/read-me-first/
|
|
28 |
*/
|
29 |
|
30 |
// BPS variables
|
31 |
-
define( 'BULLETPROOF_VERSION', '2.
|
32 |
-
$bps_last_version = '2.
|
33 |
-
$bps_version = '2.
|
34 |
$aitpro_bullet = '<img src="'.plugins_url('/bulletproof-security/admin/images/aitpro-bullet.png').'" style="padding:0px 3px 0px 3px;" />';
|
35 |
// Top div & bottom div
|
36 |
$bps_topDiv = '<div id="message" class="updated" style="background-color:#dfecf2;border:1px solid #999;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-topright:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);-moz-box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);"><p>';
|
5 |
Text Domain: bulletproof-security
|
6 |
Domain Path: /languages/
|
7 |
Description: <strong>Feature Highlights:</strong> Setup Wizard • .htaccess Website Security Protection (Firewalls) • Security Logging|HTTP Error Logging • DB Backup • DB Table Prefix Changer • Login Security & Monitoring • Idle Session Logout (ISL) • Auth Cookie Expiration (ACE) • UI Theme Skin Changer • System Info: Extensive System, Server and Security Status Information • FrontEnd|BackEnd Maintenance Mode
|
8 |
+
Version: 2.2
|
9 |
Author: AITpro | Edward Alexander
|
10 |
Author URI: https://forum.ait-pro.com/read-me-first/
|
11 |
*/
|
28 |
*/
|
29 |
|
30 |
// BPS variables
|
31 |
+
define( 'BULLETPROOF_VERSION', '2.2' );
|
32 |
+
$bps_last_version = '2.1';
|
33 |
+
$bps_version = '2.2';
|
34 |
$aitpro_bullet = '<img src="'.plugins_url('/bulletproof-security/admin/images/aitpro-bullet.png').'" style="padding:0px 3px 0px 3px;" />';
|
35 |
// Top div & bottom div
|
36 |
$bps_topDiv = '<div id="message" class="updated" style="background-color:#dfecf2;border:1px solid #999;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-topright:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);-moz-box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);box-shadow: 3px 3px 5px -1px rgba(153,153,153,0.7);"><p>';
|
includes/login-security.php
CHANGED
@@ -7,15 +7,16 @@
|
|
7 |
// This also prevents someone who does not have WooCommerce installed from not being able to login if they check the Enable WooCommerce options.
|
8 |
// This also allows someone with WooCommerce installed just to turn LSM on or off without messing with the Enable WooCommerce options.
|
9 |
// Note: There is no need for an LSM Off condition like BPS Pro has because JTC is not involved in the equation - If LSM is Off then the filter is not processed.
|
|
|
10 |
$BPSoptions = get_option('bulletproof_security_options_login_security');
|
11 |
-
$
|
12 |
-
$
|
13 |
|
14 |
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
15 |
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
16 |
}
|
17 |
|
18 |
-
if ( $
|
19 |
|
20 |
if ( $BPSoptions['bps_enable_lsm_woocommerce'] == 1 ) {
|
21 |
|
7 |
// This also prevents someone who does not have WooCommerce installed from not being able to login if they check the Enable WooCommerce options.
|
8 |
// This also allows someone with WooCommerce installed just to turn LSM on or off without messing with the Enable WooCommerce options.
|
9 |
// Note: There is no need for an LSM Off condition like BPS Pro has because JTC is not involved in the equation - If LSM is Off then the filter is not processed.
|
10 |
+
// 2.2: BugFix: Renamed the $woocommerce variable to something unique to avoid collisions/conflicts with this variable being a Global.
|
11 |
$BPSoptions = get_option('bulletproof_security_options_login_security');
|
12 |
+
$bpsPro_woocommerce = 'woocommerce/woocommerce.php';
|
13 |
+
$bpsPro_woocommerce_active = in_array( $bpsPro_woocommerce, apply_filters('active_plugins', get_option('active_plugins')));
|
14 |
|
15 |
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
16 |
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
17 |
}
|
18 |
|
19 |
+
if ( $bpsPro_woocommerce_active == 1 || is_plugin_active_for_network( $bpsPro_woocommerce ) ) {
|
20 |
|
21 |
if ( $BPSoptions['bps_enable_lsm_woocommerce'] == 1 ) {
|
22 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== BulletProof Security ===
|
2 |
Contributors: AITpro
|
3 |
Donate link: https://wordpress.org/support/view/plugin-reviews/bulletproof-security?rate=5#postform
|
4 |
-
Tags:
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
1 |
=== BulletProof Security ===
|
2 |
Contributors: AITpro
|
3 |
Donate link: https://wordpress.org/support/view/plugin-reviews/bulletproof-security?rate=5#postform
|
4 |
+
Tags: security, secure, security plugin, wordpress security, login, firewall, malware, bruteforce, backup, exploit, infection, login security, protection, virus, antivirus, logout, spam
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|