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/component/class-timer.php +2 -2 5.5.1 → 6.3.0 View file →
@@ -47,9 +47,9 @@
47 47 *
48 48 * @return void
49 49 */
50 50 public function start(): void {
51 - $this->clock = time();
51 + $this->clock = defender_get_current_time();
52 52 }
53 53
54 54 /**
55 55 * Checks if the elapsed time has exceeded half of the maximum execution time.
@@ -69,7 +69,7 @@
69 69 *
70 70 * @return int The time difference in seconds.
71 71 */
72 72 public function get_difference(): int {
73 - return time() - $this->clock;
73 + return defender_get_current_time() - $this->clock;
74 74 }
75 75 }