Version Description
March 23 2018 = * Fix: Spelling * Fix: Fatal error if cURL extension is disabled.
Download this release
Release Info
Developer | Safronik |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 5.92.1 |
Comparing to | |
See all releases |
Code changes from version 5.92 to 5.92.1
- cleantalk.php +3 -3
- inc/cleantalk-admin.php +1 -1
- lib/CleantalkHelper.php +1 -1
- readme.txt +9 -1
cleantalk.php
CHANGED
@@ -3,15 +3,15 @@
|
|
3 |
Plugin Name: Anti-Spam by CleanTalk
|
4 |
Plugin URI: http://cleantalk.org
|
5 |
Description: Max power, all-in-one, no Captcha, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
|
6 |
-
Version: 5.92
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
$cleantalk_executed = false;
|
12 |
|
13 |
-
define('APBCT_VERSION', '5.92');
|
14 |
-
define('APBCT_AGENT', 'wordpress-
|
15 |
|
16 |
define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
|
17 |
define('APBCT_CASERT_PATH', file_exists(ABSPATH . WPINC . '/certificates/ca-bundle.crt')
|
3 |
Plugin Name: Anti-Spam by CleanTalk
|
4 |
Plugin URI: http://cleantalk.org
|
5 |
Description: Max power, all-in-one, no Captcha, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
|
6 |
+
Version: 5.92.1
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
$cleantalk_executed = false;
|
12 |
|
13 |
+
define('APBCT_VERSION', '5.92.1');
|
14 |
+
define('APBCT_AGENT', 'wordpress-5921');
|
15 |
|
16 |
define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
|
17 |
define('APBCT_CASERT_PATH', file_exists(ABSPATH . WPINC . '/certificates/ca-bundle.crt')
|
inc/cleantalk-admin.php
CHANGED
@@ -1415,7 +1415,7 @@ function ct_input_set_cookies() {
|
|
1415 |
echo "<input type='radio' id='cleantalk_set_cookies1' name='cleantalk_settings[set_cookies]' value='1' " . (!empty($ct_options['set_cookies']) ? 'checked' : '') . " /><label for='cleantalk_set_cookies1'> " . __('Yes') . "</label>";
|
1416 |
echo ' ';
|
1417 |
echo "<input type='radio' id='cleantalk_set_cookies0' name='cleantalk_settings[set_cookies]' value='0' " . (empty($ct_options['set_cookies']) ? 'checked' : '') . " /><label for='cleantalk_set_cookies0'> " . __('No') . "</label>";
|
1418 |
-
ct_add_descriptions_to_fields(sprintf(__('Turn this option off to deny plugin generates any cookies on website front-end. This option is helpful if you use Varnish. But most of contact forms will not be protected by CleanTalk if the option is turned off! Warning: We strongly recommend you to enable this otherwise it could
|
1419 |
}
|
1420 |
|
1421 |
function ct_input_ssl_on() {
|
1415 |
echo "<input type='radio' id='cleantalk_set_cookies1' name='cleantalk_settings[set_cookies]' value='1' " . (!empty($ct_options['set_cookies']) ? 'checked' : '') . " /><label for='cleantalk_set_cookies1'> " . __('Yes') . "</label>";
|
1416 |
echo ' ';
|
1417 |
echo "<input type='radio' id='cleantalk_set_cookies0' name='cleantalk_settings[set_cookies]' value='0' " . (empty($ct_options['set_cookies']) ? 'checked' : '') . " /><label for='cleantalk_set_cookies0'> " . __('No') . "</label>";
|
1418 |
+
ct_add_descriptions_to_fields(sprintf(__('Turn this option off to deny plugin generates any cookies on website front-end. This option is helpful if you use Varnish. But most of contact forms will not be protected by CleanTalk if the option is turned off! <b>Warning: We strongly recommend you to enable this otherwise it could get false positives spam detection.</b>', 'cleantalk')));
|
1419 |
}
|
1420 |
|
1421 |
function ct_input_ssl_on() {
|
lib/CleantalkHelper.php
CHANGED
@@ -378,7 +378,7 @@ class CleantalkHelper
|
|
378 |
|
379 |
if($result === false){
|
380 |
if($ssl === false){
|
381 |
-
return self::
|
382 |
}
|
383 |
$curl_error = curl_error($ch);
|
384 |
}
|
378 |
|
379 |
if($result === false){
|
380 |
if($ssl === false){
|
381 |
+
return self::api_send_request($url, $original_data, $isJSON, $timeout, true);
|
382 |
}
|
383 |
$curl_error = curl_error($ch);
|
384 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov, sartemd174
|
|
3 |
Tags: spam, antispam, protection, comments, firewall
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.9.4
|
6 |
-
Stable tag: 5.92
|
7 |
License: GPLv2
|
8 |
|
9 |
Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce spam. Forget spam.
|
@@ -515,6 +515,10 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
|
|
515 |
10. Website's options.
|
516 |
|
517 |
== Changelog ==
|
|
|
|
|
|
|
|
|
518 |
= 5.92 March 22 2018 =
|
519 |
* IP detection improved.
|
520 |
* Fix: SSL connection.
|
@@ -1553,6 +1557,10 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
|
|
1553 |
* First version
|
1554 |
|
1555 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
1556 |
= 5.92 March 22 2018 =
|
1557 |
* IP detection improved.
|
1558 |
* Fix: SSL connection.
|
3 |
Tags: spam, antispam, protection, comments, firewall
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.9.4
|
6 |
+
Stable tag: 5.92.1
|
7 |
License: GPLv2
|
8 |
|
9 |
Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce spam. Forget spam.
|
515 |
10. Website's options.
|
516 |
|
517 |
== Changelog ==
|
518 |
+
= 5.92.1 March 23 2018 =
|
519 |
+
* Fix: Spelling
|
520 |
+
* Fix: Fatal error if cURL extension is disabled.
|
521 |
+
|
522 |
= 5.92 March 22 2018 =
|
523 |
* IP detection improved.
|
524 |
* Fix: SSL connection.
|
1557 |
* First version
|
1558 |
|
1559 |
== Upgrade Notice ==
|
1560 |
+
= 5.92.1 March 23 2018 =
|
1561 |
+
* Fix: Spelling
|
1562 |
+
* Fix: Fatal error if cURL extension is disabled.
|
1563 |
+
|
1564 |
= 5.92 March 22 2018 =
|
1565 |
* IP detection improved.
|
1566 |
* Fix: SSL connection.
|