PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/model/class-lockout-ip.php +7 -4 5.3.1 → 6.3.0 View file →
@@ -65,14 +65,17 @@
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 Malicious Bot lockouts too.
70 + * @since 5.6.0 Used as timestamp for Fake Bot lockouts too.
71 + *
69 72 * @var int
70 73 * @defender_property
71 74 */
72 75 public $lock_time;
73 76 /**
74 - * Todo: need to use this column less. The lock_time column is used for both lockouts.
77 + * Todo: need to use this column less. The lock_time column is used for Login/404/Malicious Bot lockouts/Fake Bot lockouts.
75 78 *
76 79 * @var int
77 80 * @defender_property
78 81 */
@@ -194,11 +197,11 @@
194 197
195 198 /**
196 199 * Retrieves bulk IPs based on the provided status, IPs, and limit.
197 200 *
198 - * @param string $status The status of the IPs to retrieve.
199 - * @param array|null $ips An array of IPs to retrieve. If null, retrieves all IPs with the given status.
200 - * @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.
201 204 *
202 205 * @return array An array of IP models.
203 206 */
204 207 public static function get_bulk( string $status, $ips = null, $limit = null ) {