Plugin Directory

Changeset 3141434


Ignore:
Timestamp:
08/26/2024 06:55:14 AM (19 months ago)
Author:
glomberg
Message:

Version: 6.39.1.

Location:
cleantalk-spam-protect
Files:
592 added
3 edited

Legend:

Unmodified
Added
Removed
  • cleantalk-spam-protect/trunk/cleantalk.php

    r3139584 r3141434  
    55  Plugin URI: https://cleantalk.org
    66  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.
    7   Version: 6.39
     7  Version: 6.39.1
    88  Author: СleanTalk - Anti-Spam Protection <[email protected]>
    99  Author URI: https://cleantalk.org
  • cleantalk-spam-protect/trunk/inc/cleantalk-common.php

    r3139584 r3141434  
    226226
    227227    /**
    228      * Add honeypot_field if exists in params
     228     * Add honeypot_field to $base_call_data if forms__wc_honeypot on
     229     * --------------------------------------------------------------
     230     * Description:
     231     * $params['honeypot_field'] = 0 - means that honeypot field is dirty (was updated by bot)
     232     * $params['honeypot_field'] = 1 - means that honeypot field is clean (was not updated by bot)
     233     * $params['honeypot_field'] = null - means that honeypot field is not supported for current form
     234     * --------------------------------------------------------------
    229235     */
    230236    if ( isset($params['honeypot_field']) ) {
    231237        $default_params['honeypot_field'] = $params['honeypot_field'];
    232     }
    233     /**
    234      * Add honeypot_field to $base_call_data if forms__wc_honeypot on
    235      */
    236     if ( $apbct->settings['data__honeypot_field'] && !isset($params['honeypot_field']) ) {
     238    } else if ( $apbct->settings['data__honeypot_field'] ) {
    237239        $honeypot_filled_fields = apbct_get_honeypot_filled_fields();
    238240        if ( isset($honeypot_filled_fields) ) {
    239             $params['honeypot_field'] = (bool) $honeypot_filled_fields;
     241            $params['honeypot_field'] = ! (bool) $honeypot_filled_fields;
    240242        } else {
    241243            $params['honeypot_field'] = null;
    242244        }
    243 
    244245
    245246        if ( isset($honeypot_filled_fields['field_value'], $honeypot_filled_fields['field_source'], $params['sender_info']) ) {
  • cleantalk-spam-protect/trunk/readme.txt

    r3139584 r3141434  
    55Tested up to: 6.6
    66Requires PHP: 5.6
    7 Stable tag: 6.39
     7Stable tag: 6.39.1
    88License: GPLv2
    99
     
    445445== Changelog ==
    446446
     447= 6.39.1 26 Aug 2024 =
     448* Fix. Params. Fixed honeypot handler.
     449
    447450= 6.39 22 Aug 2024 =
    448451* New. Integration. Otter blocks integration implemented.
Note: See TracChangeset for help on using the changeset viewer.