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-network-cron-manager.php +2 -2 6.0.1 → 6.3.0 View file →
@@ -113,10 +113,10 @@
113 113 wp_clear_scheduled_hook( $hook_name );
114 114 $this->log( "Cleared existing WordPress cron event for '{$hook_name}' to prevent conflicts", self::LOG_FILE_NAME );
115 115 }
116 116
117 - // Only save if this is a new callback.
118 - if ( ! isset( $this->callbacks[ $hook_name ] ) || $this->callbacks[ $hook_name ]['interval'] !== $interval_seconds ) {
117 + // Only save if this is a new callback or something changed.
118 + if ( ! isset( $this->callbacks[ $hook_name ] ) || $this->callbacks[ $hook_name ]['interval'] !== $interval_seconds || $this->callbacks[ $hook_name ]['start_time'] !== $start_time ) {
119 119 $this->callbacks[ $hook_name ] = array(
120 120 'interval' => $interval_seconds,
121 121 'start_time' => $start_time,
122 122 'args' => $args,