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-notification-base.php +1 -1 6.1.0 → 6.3.0 View file →
@@ -109,9 +109,9 @@
109 109 $module = $this->find_module_by_slug( $slug );
110 110 if ( is_object( $module ) ) {
111 111 if ( 'malware-notification' === $module->slug ) {
112 112 // For a manual scan, always notify the triggering user regardless of notification status.
113 - $is_manual_with_user = ! $args->is_automation && get_transient( 'defender_scan_triggered_by_' . $args->id );
113 + $is_manual_with_user = ! $args->is_automation && (int) get_transient( 'defender_scan_triggered_by_' . $args->id ) > 0;
114 114 if ( $is_manual_with_user || $module->check_options() ) {
115 115 $module->send( $args );
116 116 }
117 117 } elseif ( 'firewall-notification' === $module->slug && $module->check_options( $args ) ) {