| @@ -26,9 +26,9 @@ | ||
| 26 | 26 | * |
| 27 | 27 | * @var bool |
| 28 | 28 | * @defender_property |
| 29 | 29 | */ |
| 30 | - public $enabled = false; | |
| 30 | + public bool $enabled = false; | |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * How many 404 error happen before we lock out the IP. |
| 34 | 34 | * |
| @@ -130,9 +130,9 @@ | ||
| 130 | 130 | */ |
| 131 | 131 | public function get_default_values(): array { |
| 132 | 132 | return array( |
| 133 | 133 | 'message' => esc_html__( |
| 134 | - 'You have been locked out due to too many attempts to access a file that doesn`t exist.', | |
| 134 | + 'You have been locked out due to too many 404 requests.', | |
| 135 | 135 | 'defender-security' |
| 136 | 136 | ), |
| 137 | 137 | 'whitelist' => ".css\n.js\n.map\n/cdn-cgi/challenge-platform/", |
| 138 | 138 | ); |