Skip to content

Commit

Permalink
Fix. SecFW. Description for the block page fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed May 16, 2024
1 parent 893c5bb commit 5bc7bf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ public function _die(Result $result) // phpcs:ignore PSR2.Methods.MethodDeclarat
break;
}

if ( $result->is_personal ) {
$reason .= ' ' . esc_html__('by Personal Lists', 'security-malware-firewall');
}

if ( $this->die_page__file ) {
$die_page_template = file_get_contents($this->die_page__file);

Expand Down

0 comments on commit 5bc7bf5

Please sign in to comment.