Plugin Directory

Changeset 3491717

Timestamp:
03/26/2026 11:01:52 AM (8 days ago)
Author:
forge12
Message:

2.6.9

  • Fix [Whitelist]: Email whitelist never matched — the is_whitelisted_email() method logged the match but was missing the return true statement, so whitelisted emails were still checked by all protection modules.
  • Fix [Whitelist]: Admin role check caused early return that blocked IP and email whitelist checks. When admin whitelist was enabled and a non-admin user submitted a form, the method returned false immediately instead of continuing to check IP/email whitelists.
  • Fix [Whitelist/Blacklist]: REST API settings save (handle_settings_save) used sanitize_text_field() for textarea fields (whitelist emails, whitelist IPs, blacklist IPs), which strips newlines. Entries saved via the React admin UI were merged into a single line and never matched. Now uses sanitize_textarea_field() for these fields, matching the PHP form handler behavior.
  • Fix [Whitelist/Blacklist]: IP and email parsing now uses preg_split('/[\s,]+/') instead of explode("\n"), so entries separated by spaces or commas (e.g. from previously corrupted saves) are correctly recognized.
  • Fix [Protection]: SilentShield API mode and local protection modules (JavaScript, Timer, Captcha, etc.) can now run simultaneously. Previously, enabling the API disabled all local modules and prevented the local JS from loading, causing false NO_JAVASCRIPT blocks on login and other forms.
  • Fix [Assets]: Local protection script (f12-cf7-captcha-cf7.js) is now always loaded when a form is detected, even when the SilentShield API client (client.js) is also active. Previously the two were mutually exclusive.
  • New [Documentation]: Added in-plugin Help page (SilentShield > Help) with full user guide covering all protection modules, integrations, whitelist/blacklist, per-form overrides, API mode, logging and FAQ.
  • New [Documentation]: Contextual help links (info icon) added to all section headings on Settings, Dashboard, API and Forms pages, linking directly to the relevant documentation section.
  • New [Documentation]: Inline tooltips on 14 key settings fields (whitelist, blacklist, IP protection, content rules, logging, asset loading) explaining each option on hover.
  • New [Translations]: German (de_DE, de_DE_formal) and French (fr_FR) translations added for all documentation strings.
Location:
captcha-for-contact-form-7/trunk
Files:
21 added
66 edited

Changeset view not shown, since the total size (8.3 MB) exceeds 4.0 MB

Note: See TracChangeset for help on using the changeset viewer.