| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Patchstack Security |
| 4 | 4 | * Plugin URI: https://patchstack.com |
| 5 | 5 | * Description: Patchstack identifies security vulnerabilities in WordPress plugins, themes, and core. |
| 6 | - * Version: 2.1.16 | |
| 6 | + * Version: 2.1.10 | |
| 7 | 7 | * Author: Patchstack |
| 8 | 8 | * License: GPLv3 |
| 9 | 9 | * Text Domain: patchstack |
| 10 | 10 | * Domain Path: /languages |
| @@ -57,9 +57,9 @@ | ||
| 57 | 57 | * The plugin version. |
| 58 | 58 | * |
| 59 | 59 | * @var string |
| 60 | 60 | */ |
| 61 | - const VERSION = '2.1.16'; | |
| 61 | + const VERSION = '2.1.10'; | |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * API URL of Patchstack to communicate with. |
| 65 | 65 | * |
| @@ -88,8 +88,15 @@ | ||
| 88 | 88 | */ |
| 89 | 89 | const PRIVATE_KEY = 'PATCHSTACK_PRIVATE_KEY'; |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | + * Known IP addresses. | |
| 93 | + * | |
| 94 | + * @var array | |
| 95 | + */ | |
| 96 | + protected $ips = array( '18.221.197.243', '52.15.237.250', '3.19.3.34', '3.18.238.17', '13.58.49.77', '18.222.191.77', '3.131.108.250', '3.23.157.140', '18.220.70.233', '3.140.84.221', '185.212.171.100' ); | |
| 97 | + | |
| 98 | + /** | |
| 92 | 99 | * URL of the plugin directory. |
| 93 | 100 | * |
| 94 | 101 | * @var string |
| 95 | 102 | */ |
| @@ -138,9 +145,8 @@ | ||
| 138 | 145 | protected $htaccess; |
| 139 | 146 | protected $hacker_log; |
| 140 | 147 | protected $upload; |
| 141 | 148 | protected $rules; |
| 142 | - protected $hide_login; | |
| 143 | 149 | protected $listener; |
| 144 | 150 | protected $event_log; |
| 145 | 151 | protected $multisite; |
| 146 | 152 | protected $notice; |
| @@ -189,9 +195,8 @@ | ||
| 189 | 195 | 'htaccess' => 'P_Htaccess', |
| 190 | 196 | 'hacker_log' => 'P_Hacker_Log', |
| 191 | 197 | 'upload' => 'P_Upload', |
| 192 | 198 | 'rules' => 'P_Rules', |
| 193 | - 'hide_login' => 'P_Hide_Login', | |
| 194 | 199 | 'listener' => 'P_Listener', |
| 195 | 200 | 'event_log' => 'P_Event_Log', |
| 196 | 201 | 'activation' => 'P_Activation', |
| 197 | 202 | 'multisite' => 'P_Multisite', |