| @@ -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.22 | |
| 6 | + * Version: 2.1.3 | |
| 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.22'; | |
| 61 | + const VERSION = '2.1.3'; | |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * API URL of Patchstack to communicate with. |
| 65 | 65 | * |
| @@ -86,8 +86,15 @@ | ||
| 86 | 86 | * |
| 87 | 87 | * @var string |
| 88 | 88 | */ |
| 89 | 89 | const PRIVATE_KEY = 'PATCHSTACK_PRIVATE_KEY'; |
| 90 | + | |
| 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' ); | |
| 90 | 97 | |
| 91 | 98 | /** |
| 92 | 99 | * URL of the plugin directory. |
| 93 | 100 | * |