diff --git a/lib/CleantalkAntispam.php b/lib/CleantalkAntispam.php index f9568e8..e9c21d5 100644 --- a/lib/CleantalkAntispam.php +++ b/lib/CleantalkAntispam.php @@ -134,8 +134,9 @@ private function setEmailAutomatically() public static function getFrontendHTMLCode($warn_if_js_disabled = false) { $warn = $warn_if_js_disabled ? 'Please, enable JavaScript in the browser to process the form' : ''; + $url = static::BOT_DETECTOR_LIBRARY_URL . '?ver=' . gmdate('Ymd'); $html = '%s'; - return sprintf($html, static::BOT_DETECTOR_LIBRARY_URL, $warn); + return sprintf($html, $url, $warn); } /**