-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
2,971 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,14 @@ | |
* Plugin Name: BC Security | ||
* Plugin URI: https://github.com/chesio/bc-security | ||
* Description: Helps keeping WordPress websites secure. Plugin requires PHP 7.0 or newer to run. | ||
* Version: 0.7.0 | ||
* Version: 0.8.0 | ||
* Author: Česlav Przywara <[email protected]> | ||
* Author URI: https://www.chesio.com | ||
* Requires at least: 4.7 | ||
* Requires PHP: 7.0 | ||
* Requires WP: 4.7 | ||
* Tested up to: 4.9 | ||
* Text Domain: bc-security | ||
* GitHub Plugin URI: https://github.com/chesio/bc-security | ||
*/ | ||
|
||
if (version_compare(PHP_VERSION, '7.0', '<')) { | ||
|
@@ -42,7 +44,7 @@ | |
require_once __DIR__ . '/autoload.php'; | ||
|
||
// Construct plugin instance. | ||
$bc_security = new \BlueChip\Security\Plugin(plugin_basename(__FILE__), $GLOBALS['wpdb']); | ||
$bc_security = new \BlueChip\Security\Plugin(__FILE__, $GLOBALS['wpdb']); | ||
|
||
// Register activation hook. | ||
register_activation_hook(__FILE__, [$bc_security, 'activate']); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.