Plugin Directory

Changeset 3450719


Ignore:
Timestamp:
01/30/2026 09:39:06 PM (8 weeks ago)
Author:
codekraft
Message:

v0.7.4

Location:
cf7-antispam
Files:
175 added
7 edited

Legend:

Unmodified
Added
Removed
  • cf7-antispam/trunk/cf7-antispam.php

    r3450075 r3450719  
    66 * Text Domain: cf7-antispam
    77 * Domain Path: /languages
    8  * Version: 0.7.3
     8 * Version: 0.7.4
    99 * License: GPLv2 or later
    1010 * Requires Plugins: contact-form-7
     
    2121define( 'CF7ANTISPAM_NAME', 'cf7-antispam' );
    2222
    23 define( 'CF7ANTISPAM_VERSION', '0.7.3' );
     23define( 'CF7ANTISPAM_VERSION', '0.7.4' );
    2424
    2525define( 'CF7ANTISPAM_PLUGIN', __FILE__ );
  • cf7-antispam/trunk/composer.json

    r3450075 r3450719  
    22    "name": "codekraft/contactform7-antispam",
    33    "description": "AntiSpam for Contact Form 7",
    4     "version": "0.7.3",
     4    "version": "0.7.4",
    55    "license": "GPL-3.0-or-later",
    66    "type": "wordpress-plugin",
  • cf7-antispam/trunk/core/CF7_AntiSpam_Filters.php

    r3450075 r3450719  
    13511351         */
    13521352        foreach ( $posted_data as $key => $value ) {
     1353            // Handle array values (e.g., checkboxes, multi-selects)
     1354            if ( is_array( $value ) ) {
     1355                $value = implode( ' ', array_filter( $value ) );
     1356            }
     1357
     1358            // Skip empty values or non-string values
     1359            if ( ! is_string( $value ) || empty( trim( $value ) ) ) {
     1360                continue;
     1361            }
     1362
    13531363            // is email?
    13541364            if ( is_email( $value ) ) {
    13551365                continue;
    13561366            }
     1367
    13571368            // is phone?
    13581369            if ( $this->is_phone( $value ) ) {
    13591370                continue;
    13601371            }
     1372
    13611373            // is too short?
    13621374            if ( strlen( $value ) >= $minimum_field_length ) {
    13631375                $message .= $value . "\n";
    13641376            }
    1365         }
     1377        }//end foreach
    13661378        return $message;
    13671379    }
  • cf7-antispam/trunk/languages/cf7-antispam.pot

    r3450075 r3450719  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: AntiSpam for Contact Form 7 0.7.3\n"
     5"Project-Id-Version: AntiSpam for Contact Form 7 0.7.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugins/cf7-antispam\n"
    77"MIME-Version: 1.0\n"
     
    99"Content-Type: text/plain; charset=iso-8859-1\n"
    1010"Plural-Forms: nplurals=2; plural=(n!=1);\n"
    11 "POT-Creation-Date: 2026-01-28T23:33:00.280Z\n"
     11"POT-Creation-Date: 2026-01-30T21:25:07.252Z\n"
    1212"PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: Codekraft <erik@codekraft.it>\n"
  • cf7-antispam/trunk/package.json

    r3450075 r3450719  
    33    "author": "Erik Golinelli <erik@codekraft.it>",
    44    "license": "GPL-2.0-only",
    5     "version": "0.7.3",
     5    "version": "0.7.4",
    66    "description": "AntiSpam for Contact Form 7",
    77    "files": [
  • cf7-antispam/trunk/readme.txt

    r3450075 r3450719  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 0.7.3
     7Stable tag: 0.7.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    173173== Changelog ==
    174174
     175= 0.7.4 =
     176* Fix: Improve message sanitization: handle arrays, skip empty/non-string values, and refine length checks (thanks to @sleepygoth for reporting it)
     177
    175178= 0.7.3 =
    176179* Fix: Dismissing the "Flamingo Message" notice now works correctly (thanks to @WORX Developer for reporting it)
     
    179182* Enhancement: New dashboard empty-state view
    180183* Enhancement: Added JS selector for allowed/disallowed countries and languages
    181 * Typo: Replaced "blacklis" with "blocklist"
     184* Typo: Replaced "blacklist" with "blocklist" and "whitelist" with "allowlist" (thanks to @WORX Developer for waning me about this mistake)
    182185* Enhancement: New summary table added at the top of the settings page to display form configuration status
     186* Enhancement: Cache compatibility improvements
     187* Enhancement: Removed UCEPROTECT from predefined blocklists: We have optimized the default DNSBL configuration by removing the uceprotect service. This strategic change reduces the risk of false positives for legitimate users hosted on shared environments and improves the overall form submission speed by eliminating redundant DNS queries.
     188* Fix: Fix cf7a_ban_by_ip reason parameter: Addressed a bug where the ban reason was not correctly passed to the blocking function. Logs will now accurately reflect the specific trigger (e.g., Honeypot violation, DNSBL match) that caused an IP ban, restoring full observability for administrators (Thanks to @sdellenb - PR #163).
     189* Compatibility: Implemented a fix for WEBGL_debug_renderer_info in iOS/Safari on newer iOS devices. This resolves potential JavaScript execution errors during browser fingerprinting, ensuring seamless form functionality on iPhones and iPads with strict privacy settings.
     190* Enhancement: Added blueprint.json: Introduced a configuration file for WordPress Playground. Contributors and users can now instantly spin up a browser-based testing environment for the plugin without local setup.
     191* Enhancement: Updated unit tests to display GeoIP database information if available. This enhances local debugging capabilities by verifying that geolocation data is loaded correctly during test runs.
     192* Enhancement: Applied comprehensive PHP linting to the Admin interface files, enforcing WordPress Coding Standards for better maintainability.
    183193
    184194= 0.7.2 =
     
    399409Zodiac1978 - [#67](https://github.com/wp-blocks/cf7-antispam/pull/67) Remove warning for unsafe email configuration w/o protection
    400410JohnHooks - [#66](https://github.com/wp-blocks/cf7-antispam/pull/61) Readme + plugin env
     411sdellenb - [#66](https://github.com/wp-blocks/cf7-antispam/pull/163) Fix $reason parameter for calling cf7a_ban_by_ip
    401412
    402413== Special thanks ==
  • cf7-antispam/trunk/vendor/composer/installed.php

    r3450075 r3450719  
    22    'root' => array(
    33        'name' => 'codekraft/contactform7-antispam',
    4         'pretty_version' => '0.7.3',
    5         'version' => '0.7.3.0',
     4        'pretty_version' => '0.7.4',
     5        'version' => '0.7.4.0',
    66        'reference' => null,
    77        'type' => 'wordpress-plugin',
     
    1212    'versions' => array(
    1313        'codekraft/contactform7-antispam' => array(
    14             'pretty_version' => '0.7.3',
    15             'version' => '0.7.3.0',
     14            'pretty_version' => '0.7.4',
     15            'version' => '0.7.4.0',
    1616            'reference' => null,
    1717            'type' => 'wordpress-plugin',
Note: See TracChangeset for help on using the changeset viewer.