From 3bd94e53cd95b7a9054455a70284a50500353ac4 Mon Sep 17 00:00:00 2001 From: AntonV1211 Date: Thu, 19 Dec 2024 16:03:03 +0700 Subject: [PATCH] Fix. SFW Error Text. Adding a space after the function --- cleantalk.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cleantalk.php b/cleantalk.php index 1ad39251..c2a39fcc 100644 --- a/cleantalk.php +++ b/cleantalk.php @@ -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', @@ -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__(