| @@ -65,9 +65,10 @@ | ||
| 65 | 65 | /** |
| 66 | 66 | * Table column for lock time. |
| 67 | 67 | * |
| 68 | 68 | * @since 3.7.0 Used as timestamp for Login/404 lockouts. |
| 69 | - * @since 5.4.0 Used as timestamp for Bot Trap lockouts too. | |
| 69 | + * @since 5.4.0 Used as timestamp for Malicious Bot lockouts too. | |
| 70 | + * @since 5.6.0 Used as timestamp for Fake Bot lockouts too. | |
| 70 | 71 | * |
| 71 | 72 | * @var int |
| 72 | 73 | * @defender_property |
| 73 | 74 | */ |
| @@ -72,9 +73,9 @@ | ||
| 72 | 73 | * @defender_property |
| 73 | 74 | */ |
| 74 | 75 | public $lock_time; |
| 75 | 76 | /** |
| 76 | - * Todo: need to use this column less. The lock_time column is used for Login/404/Bot Trap lockouts. | |
| 77 | + * Todo: need to use this column less. The lock_time column is used for Login/404/Malicious Bot lockouts/Fake Bot lockouts. | |
| 77 | 78 | * |
| 78 | 79 | * @var int |
| 79 | 80 | * @defender_property |
| 80 | 81 | */ |
| @@ -196,11 +197,11 @@ | ||
| 196 | 197 | |
| 197 | 198 | /** |
| 198 | 199 | * Retrieves bulk IPs based on the provided status, IPs, and limit. |
| 199 | 200 | * |
| 200 | - * @param string $status The status of the IPs to retrieve. | |
| 201 | - * @param array|null $ips An array of IPs to retrieve. If null, retrieves all IPs with the given status. | |
| 202 | - * @param int|string|null $limit The maximum number of IPs to retrieve. If null, retrieves all IPs. | |
| 201 | + * @param string $status The status of the IPs to retrieve. | |
| 202 | + * @param array|null $ips An array of IPs to retrieve. If null, retrieves all IPs with the given status. | |
| 203 | + * @param int|null $limit The maximum number of IPs to retrieve. If null, retrieves all IPs. | |
| 203 | 204 | * |
| 204 | 205 | * @return array An array of IP models. |
| 205 | 206 | */ |
| 206 | 207 | public static function get_bulk( string $status, $ips = null, $limit = null ) { |