Skip to content

Commit

Permalink
Fix. SFW Error Text. Adding a space after the function
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonV1211 committed Dec 19, 2024
1 parent 379c253 commit 3bd94e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cleantalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ function apbct_sfw__check()
// Checking if database was outdated
$is_sfw_outdated = $apbct->stats['sfw']['last_update_time'] + $apbct->stats['sfw']['update_period'] * 3 < time();

add_action('init', function() use ($apbct, $is_sfw_outdated) {
add_action('init', function () use ($apbct, $is_sfw_outdated) {
$apbct->errorToggle(
$is_sfw_outdated,
'sfw_outdated',
Expand All @@ -897,7 +897,7 @@ function apbct_sfw__check()
$sfw_tables_names = SFW::getSFWTablesNames();

if (!$sfw_tables_names) {
add_action('init', function() use ($apbct) {
add_action('init', function () use ($apbct) {
$apbct->errorAdd(
'sfw',
esc_html__(
Expand Down

0 comments on commit 3bd94e5

Please sign in to comment.