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-rate.php +6 -8 6.0.1 → 6.3.0 View file →
@@ -201,9 +201,9 @@
201 201 case 'completed_scans':
202 202 default:
203 203 $text = '<p class="notice-header">' . sprintf(
204 204 /* translators: %d - Number of completed scans. */
205 - esc_html__( '🎉 Nice work — %d scans completed!', 'defender-security' ),
205 + esc_html__( 'Nice work — %d scans completed!', 'defender-security' ),
206 206 self::NUMBER_COMPLETED_SCANS
207 207 );
208 208 $text .= '</p><p class="notice-body">';
209 209 $text .= esc_html__(
@@ -241,9 +241,9 @@
241 241
242 242 case 'ua_lockouts':
243 243 $text = '<p class="notice-header">' . sprintf(
244 244 /* translators: %d - Number of UA lockouts. */
245 - esc_html__( '🤖 Defender has blocked %d malicious bots!', 'defender-security' ),
245 + esc_html__( 'Defender has blocked %d malicious bots!', 'defender-security' ),
246 246 self::NUMBER_UA_LOCKOUTS
247 247 );
248 248 $text .= '</p><p class="notice-body">';
249 249 $text .= sprintf(
@@ -259,9 +259,9 @@
259 259
260 260 case 'ip_lockouts':
261 261 $text = '<p class="notice-header">' . sprintf(
262 262 /* translators: %d - Number of IP lockouts. */
263 - esc_html__( '🚫 Defender has blocked %d suspicious IPs!', 'defender-security' ),
263 + esc_html__( 'Defender has blocked %d suspicious IPs!', 'defender-security' ),
264 264 self::NUMBER_IP_LOCKOUTS
265 265 );
266 266 $text .= '</p><p class="notice-body">';
267 267 $text .= sprintf(
@@ -499,9 +499,9 @@
499 499 *
500 500 * @return bool
501 501 */
502 502 protected static function is_required_page(): bool {
503 - $arr = array(
503 + $arr = array(
504 504 'wdf-hardener',
505 505 'wdf-scan',
506 506 'wdf-logging',
507 507 'wdf-ip-lockout',
@@ -508,13 +508,11 @@
508 508 'wdf-2fa',
509 509 'wdf-advanced-tools',
510 510 'wdf-notification',
511 511 'wdf-setting',
512 + // Dashboard and Setup Wizard have the same page slug.
513 + 'wp-defender',
512 514 );
513 - $_this = new self();
514 - if ( ! $_this->is_onboarding() ) {
515 - $arr[] = 'wp-defender';
516 - }
517 515
518 516 return in_array( defender_get_current_page(), $arr, true );
519 517 }
520 518 }