Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification changelog

By Forge12 Interactive GmbH, on WordPress.org since 2022. 1,000+ active installs.

Browse code

50 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 5.16.1
    • Security: fixed a cross-site request forgery issue in the admin app (CVSS 8.8). A crafted link opened by a logged-in administrator could make the admin app send a request to another part of the WordPress REST API with the administrator’s permissions. Values from the address bar are now checked before any request is sent, and requests can no longer leave the plugin’s own REST routes. Reported via Patchstack. Please update.
    Source Diff vs 5.16.0
  2. 5.16.0
    • Changed: the update adds two columns to the opt-in table. Existing sign-ups are filled in the background, a few hundred per run, so the update itself stays fast.
    • Security: every sign-up gets its own opt-out token. Opt-out links in new mails use it instead of the confirmation code, so an opt-out link no longer contains the code that confirms a sign-up.
    • Changed: opt-out links in mails sent before this version keep working for unsubscribing. Re-subscribing only works with a link from a newer mail. Site Health shows how many sign-ups can still be reached through old links; developers can switch them off with the filter f12_doi_accept_legacy_optout_hash.
    • Changed: very old opt-out links from before version 4.0 are no longer accepted, because their code could be guessed. People with such a mail withdraw their consent through the opt-out form with their email address.
    • Fix: a Gravity Forms form and a WordPress post or Contact Form 7 form with the same ID shared their double opt-in settings, their entries in the opt-in list and their subscription. Each sign-up now records which form plugin it came from, and settings, list, placeholders and subscriptions keep the two apart. Needs Gravity Forms add-on 1.3.0.
    • New: the opt-in list can filter a form by its form plugin; the personal data export lists the form plugin, and erasing personal data also removes the opt-out token.

    And 16 more notes.

    Source Diff vs 5.15.0
  3. 5.15.0
    • New: the notice shown after a Contact Form 7 form is sent can be changed per form, in the General tab of the form settings. {email} shows the masked address, and a switch turns the additional hints off. A text set there takes the place of the success message from Contact Form 7; without one nothing changes.
    • New: the API page says whether connecting CleverReach worked (part of the paid CleverReach add-on). Needs CleverReach add-on 0.1.6.
    • Changed: the Avada integration is part of Double Opt-In Pro. A site using Avada forms without the add-on sees one hint that can be dismissed. Grandfather licenses claimed before October 1, 2026 remain valid; new ones are no longer issued.
    • Security: the form address used in mails and confirmation links is restricted to the site’s own domain.
    • Security: confirmation tokens are no longer written to the log.
    • Security: the export of a single sign-up from its detail page no longer contains the confirmation token.

    And 8 more notes.

    Source Diff vs 5.14.0
  4. 5.14.0
    • New: forms that a Pro module groups into a subscription can take their sender, subject, mail, confirmation and error page and category from that subscription. The consent text and consent field always stay with the form, and the settings stored on each form are never changed. Nothing changes without that module.
    • New: filter f12_doi_form_config_inherited and the admin extension point forms.banner on the form settings page.
    • Improved: a form whose required fields are supplied by its subscription is no longer reported as incomplete.
    Source Diff vs 5.13.1
  5. 5.13.1
    • New: the Opt-Out settings page (part of the paid Opt-Out add-on) shows a hint on the “Opt-Out Email” card when the saved mail has no opt-out link placeholder, for example when an opt-in template with [doubleoptinlink] is chosen. Needs Opt-Out add-on 1.8.1.
    Source Diff vs 5.13.0
  6. 5.13.0
    • New: the Notifications card on the Opt-Out settings page (part of the paid Opt-Out add-on) can also notify you about confirmed opt-ins and reactivations, and lets you write the subject, introduction and line of the mail with placeholders such as {form_title} and {category}, with a live preview. Needs Opt-Out add-on 1.8.0.
    Source Diff vs 5.12.0
  7. 5.12.0
    • New: every new sign-up stores which form it came from when a page holds several forms (Elementor), so such forms can be told apart. Existing sign-ups are not changed. For Elementor forms this needs Elementor add-on 1.3.0.
    • New: the Opt-Ins list and the sign-up details can show and filter by subscription when a Pro module groups forms into subscriptions. Nothing changes without that module.
    • New: filter f12_doi_subscription_group_resolver for a module that provides subscription groups, a read-only route /subscription-groups and a group filter on the Opt-Ins list.
    • Improved: the consent export panel has a Subscription filter when subscription groups are available.
    Source Diff vs 5.11.0
  8. 5.11.0
    • New: a Help page inside the plugin with the setup guide, troubleshooting and shortcode reference, written in screenshots and short steps. Guides of installed add-ons appear there automatically (add-ons need their next release to bring their guide).
    • Fix: e-mail addresses, recipients and IP addresses are no longer written to the log (rate limit, recipient check, mail event).
    • Fix: the help text of the confirmation page field said a site-wide confirmation page would be used; without a page the link opens the site’s start page.
    • New: filter f12_doi_help_sources to add help articles from another plugin.
    Source Diff vs 5.10.0
  9. 5.10.0
    • New: the Opt-Out settings page (part of the paid Opt-Out add-on) has a “Notify me about unsubscribes” card. Needs Opt-Out add-on 1.6.0.
    • Improved: German and French texts for the new card.
    Source Diff vs 5.9.0
  10. 5.9.0
    • New: opt-ins withdrawn through the opt-out show as “Revoked” (filter in the list, detail page, its own dashboard card) instead of “Pending”; the original confirmation stays visible.
    • New: the setup wizard offers the forms of every installed form plugin (WPForms, Elementor Pro, Gravity Forms and Avada with their add-ons), not only Contact Form 7, and finds the email field by its label.
    • New: [doi_if status=”confirmed”]…[/doi_if] shows its content only for the given outcome of the confirmation link, so one page can greet, explain an expired link and offer the form again.
    • New: the form settings warn when the stored consent text differs from the text next to the checkbox in the form (Contact Form 7), and take that text over in one click. Developers: FieldTextProviderInterface and the filter f12_doi_form_field_texts.
    • Fix: an add-on installed or activated on the Add-ons page works without reloading the page.
    • Fix: the audit log showed event types as internal keys and some messages in English; its rate-limit filter found nothing.

    And 3 more notes.

    Source Diff vs 5.8.1
  11. 5.8.1
    • Fix: on sites in formal German (Sie), a sentence on the user creation page was shown in English, and the role appeared as its internal key (“subscriber”) instead of its name.
    • Fix: German admin texts used the English names “Conditional Templates”, “User Creation” and “Unique Email”; they now use the German terms throughout.
    • Fix: the breadcrumb on add-on settings pages read “Page”.
    Source Diff vs 5.8.0
  12. 5.8.0
    • New: every opt-in records whether its confirmation email was handed to your mail server or failed, and why. Shown in the opt-in list (with a filter), on the detail page and in Site Health; included in the WordPress privacy export and eraser.
    • New: after a Contact Form 7 submission, visitors read “please confirm your address” with the sender and subject to look for, instead of “Thank you for your message”. When the email could not be sent, they are told so.
    • New: Site Health checks SPF and DMARC of the sender domain, the two most common reasons confirmation emails land in spam.
    • New: a dashboard hint when many recent opt-ins stay unconfirmed.
    • New: shortcodes [doi_confirmation_status], [doi_error_message] and [doi_field] for the confirmation and error pages, and a readable message when a link is broken or expired.
    • New: a hidden honeypot field and a minimum fill time keep simple bots away from Contact Form 7 double opt-in forms.

    And 8 more notes.

    Source Diff vs 5.7.0
  13. 5.7.0
    • New: after installing the plugin, a short wizard sets up the sender, the Contact Form 7 forms that should ask for confirmation, the confirmation email and the page visitors see after clicking the link. Everything is prefilled; it takes about three minutes and can be skipped at any time. A test email to yourself shows the result before visitors see it.
    • New: the sender name and address from the wizard are used for every form you switch on later. Confirmation emails without a sender name no longer arrive as “WordPress”.
    • New: if you also use Elementor Pro, WPForms, Gravity Forms or Avada Forms, the wizard tells you which add-on protects those forms.
    • Improved: forms that already use Double Opt-In are left exactly as they are. Existing sites do not see the wizard unless you start it under Settings.
    • Fix: this description listed the visual email editor, saved templates and test emails as free features. They are part of the email editor add-on; the free plugin offers three built-in email designs. Resending a confirmation email from the opt-in details is free.
    Source Diff vs 5.6.3
  14. 5.6.3
    • Fix: the developer reference this readme points to — docs/hooks-and-events.md and docs/addon-api.md — was never actually included in the plugin. Both files now ship.
    • Improved: the notice for major updates on the Plugins screen no longer starts with an emoji; it already sits in a warning box.
    Source Diff vs 5.6.2
  15. 5.6.2
    • Fix: when a visitor left the consent checkbox unticked, Contact Form 7 still showed “Thank you for your message. It has been sent.” and emptied the form. The actual reason appeared only in a small notice that disappeared after ten seconds — so the visitor believed they were subscribed and waited for a confirmation mail that never came. The form now stops with “You must agree to the consent statement to continue.” and keeps everything the visitor typed; they only have to tick the box.
    • Fix: the same on Elementor, WPForms and Gravity Forms forms — the consent checkbox is now marked the way a missed required field is, and the form stays on the page with the visitor’s input. This needs the Elementor add-on 1.2.1, the WPForms add-on 1.1.1 and the Gravity Forms add-on 1.1.1. With older add-ons the success message is at least hidden and the notice stays until the visitor closes it.
    • Developer: new AbstractFormIntegration::refusedConsentBeforeSubmit() for integrations whose submit hook runs after the form plugin has accepted the submission (Core API 4.5.0, additive).
    • Note: this applies to the consent checkbox only. Other refusals (rate limits, blocked domains, …) keep their current behaviour and can be shown in the form with the filter f12_cf7_doubleoptin_show_validation_error, which now also receives the error and the form ID.
    Source Diff vs 5.6.1
  16. 5.6.1
    • Fix: on some sites the Double Opt-In admin stayed blank or loaded only partly after 5.6.0, depending on the browser, with “clearTimeout is not a function” in the browser console. The admin script accidentally registered an internal helper under the global name _, which WordPress and many themes and plugins (Avada among them) use for the Underscore/Lodash library. Whichever loaded last won. The admin script now keeps all of its names to itself, and it no longer replaces WordPress’ own _ either.
    Source Diff vs 5.6.0
  17. 5.6.0
    • Security: a crafted request could switch off the double opt-in for a single submission, so the form’s follow-up actions ran without a confirmed address. This is closed for all form systems. Update recommended.
    • New: every action that runs after a subscriber confirms — the form’s notification mail, the stored entry, and for Elementor each “Actions After Submit” step — is now recorded individually with its outcome. The opt-in detail page shows them in a new “Follow-up actions” panel.
    • New: an action that fails for a temporary reason (mail server unreachable, timeout) is retried automatically after 1, 5 and 30 minutes. Actions that already succeeded are never run again, so a retry does not send a second mail or write a second entry. An action whose outcome is unclear (the connection broke after the request was sent) is not retried automatically; the panel says so and asks before you retry it by hand.
    • New: a “Retry failed actions” button on the opt-in detail page, and a “Follow-ups need attention” filter in the opt-in list. A manual retry starts a fresh set of automatic attempts.
    • New: a Site Health check when follow-up actions keep failing, and entries in the audit log for every attempt.
    • Fix: on Elementor forms the actions after the confirmation could be cut short by a CAPTCHA or honeypot field that was checked a second time, long after the visitor had passed it.

    And 3 more notes.

    Source Diff vs 5.5.0
  18. 5.5.0
    • Fix: with a Double Opt-In Pro older than 4.0 installed next to the current modules, WordPress failed with “There has been a critical error on this website” — including the admin, so the old plugin could not be deactivated, the licence page could not be opened, and even deleting it from the dashboard failed. The two products declare some program parts under the same names; the compatibility loader now skips the duplicate instead of loading it a second time. The site stays reachable, and one of the two copies is simply not run.
    • New: a Site Health check naming the outdated Pro plugin, its folder and its version, with a one-click “Deactivate the old plugin now”. It also appears on the dashboard and the plugins screen, where the problem is usually noticed.
    • New: a Site Health check for leftover Pro setup markers. Pro records that it has migrated its licence and installed its modules, and those records survive uninstalling it — so a fresh installation used to find them and skip both steps: no licence, no modules, and the “Install” button on the Add-ons screen failing with a routing error. One click clears them; your licence key and all form settings are left alone.
    • Note: neither repair deletes anything from your server. Removing the old plugin’s folder stays a manual step over FTP or SSH on purpose — that version’s uninstall routine drops the opt-out database table, and the WordPress delete button would run it.
    • Fix: the “required field” labels in the admin appeared in English on German and French sites, along with 17 other untranslated strings.
    • Improved: the hook reference shipped with the plugin now documents the consent-gate hooks and matches the hooks that actually exist.
    Source Diff vs 5.4.0
  19. 5.4.0
    • Fix: a consent checkbox configured for an Elementor form was recorded but never required. The visitor could submit without ticking it, and the opt-in was stored with your consent text as proof of an agreement nobody had given. The same gap applied to Contact Form 7 and Avada forms running through the older compatibility path. Every form system now enforces the checkbox at submit time, and a submission without it is rejected with “You must agree to the consent statement to continue.”
    • Change: if the acceptance field you configured is not on the form any more — renamed or deleted in your form builder — the submission is no longer rejected. It is accepted, and the mismatch is reported under Tools > Site Health instead. A settings mistake should not take your registrations offline, which is what used to happen: the form silently stopped accepting anyone and nothing said why.
    • New: a Site Health check listing every form whose acceptance field no longer exists, naming the form and the field. Until now nothing pointed this out unless you happened to open that particular form’s settings.
    • New: filter f12_doi_enforce_consent_gate to switch the rejection off for a single form, and action f12_doi_consent_field_unknown to react to the mismatch yourself.
    • Improved: the warning on the form settings tab now says what actually happens — submissions go through, but without provable consent — instead of promising a rejection. It is also translated again; since 5.3.2 that warning had been showing in English on German and French sites.
    Source Diff vs 5.3.2
  20. 5.3.2
    • Fix: opt-ins collected through an Elementor form always showed “User acknowledged: no” in the consent audit, even when the visitor had ticked the consent checkbox. Elementor stores its submitted fields differently from the other integrations and the audit view did not know that layout, so it looked in the wrong place. It now reads every integration’s layout, and existing records show their acknowledgment correctly without anything having to be re-saved.
    • Fix: the acceptance field you picked for a form was silently converted to lower case when saved. Any form field whose name contains a capital letter — which Elementor explicitly allows, and which is common on German sites (“Datenschutz”) — therefore stopped matching, the form settings kept warning that the selected field does not exist, and picking it again changed nothing. Field names are now stored exactly as the form spells them, and a name that was already converted is repaired the next time the form settings are opened.
    • Fix: on the integrations that enforce the consent gate, that same conversion meant the configured checkbox was never found at submit time and every registration was rejected as “consent not given”. Those forms accept registrations again.
    • Improved: the warning about a missing acceptance field no longer promises that submissions would be rejected on integrations where the consent gate does not run.
    Source Diff vs 5.3.1
  21. 5.3.1
    • Fix: the opt-out page you selected was discarded when settings were read, so the [doubleoptoutlink] placeholder in confirmation and reminder mails pointed at your front page instead of your consent centre. It now resolves to the page you configured.
    Source Diff vs 5.1.6
  22. 5.1.6
    • Fix: the plugin declared Requires PHP: 7.4 but shipped PHP 8 syntax (a nullsafe operator and a union return type), which would have caused a fatal error on a PHP 7.4 server. Both are gone — the whole plugin now parses and runs on 7.4.
    • New: minimum-PHP guard. On a server older than PHP 7.4 the plugin stops before loading anything and shows an admin notice, instead of taking the site down with a white screen.
    • Fix: the plugin header was missing Requires at least and Requires PHP entirely, so WordPress could not block activation on an unsupported server. Both are now declared.
    • Maintenance: the build now refuses to package any file that would fail on PHP 7.4, so this class of problem cannot come back unnoticed.
    Source Diff vs 5.1.5
  23. 5.1.5
    • Fix: the legacy AJAX endpoints (opt-in details, template loader) now require the manage_options capability — not just a nonce — and the privileged nonce is no longer emitted on every wp-admin page.
    • Fix: the consent CSV export neutralises spreadsheet formula injection (values beginning with = + - @).
    • Fix: the visitor IP is resolved from REMOTE_ADDR and only trusts X-Forwarded-For from proxies you configure via the new f12_doi_trusted_proxies filter — this prevents spoofing the opt-in rate limiter and the stored GDPR consent IP.
    • Fix: the form-URL email placeholder is URL-escaped.
    • Maintenance: removed leftover debug logging, added ABSPATH guards to directly-reachable files, and corrected a text domain (wordpress.org compliance).
    Source Diff vs 5.1.2
  24. 5.1.2
    • Fix: Centered (and right-aligned) text now keeps its alignment in the actual and test emails. The generator wraps text and footer content in a <div> instead of a <p>, so alignment survives multi-line rich-text content (a block-level tag inside a <p> is invalid HTML and email clients dropped the alignment).
    • Fix: The builder no longer shows two “Save” buttons — removed a deprecated legacy editor-bundle enqueue that could mount the editor twice, and hardened the mount path against double-mounting.
    • New: The Social Icons block now has an editable settings panel (network + URL per icon, add/remove, plus icon size, spacing, alignment, and padding).
    Source Diff vs 5.1.1
  25. 5.1.1
    • Improved: Admin menu label renamed from “DOI …
    Source Diff vs 3.7.1
  26. 3.7.1

    No notes for this release in the current readme.

    Source Diff vs 3.7.0
  27. 3.7.0

    No notes for this release in the current readme.

    Source Diff vs 3.6.0
  28. 3.6.0

    No notes for this release in the current readme.

    Source Diff vs 3.5.0
  29. 3.5.0

    No notes for this release in the current readme.

    Source Diff vs 3.4.0
  30. 3.4.0

    No notes for this release in the current readme.

    Source Diff vs 3.2.1
  31. 3.2.1

    No notes for this release in the current readme.

    Source Diff vs 3.1.2
  32. 3.1.2

    No notes for this release in the current readme.

    Source Diff vs 3.1.0
  33. 3.1.0

    No notes for this release in the current readme.

    Source Diff vs 3.0.72
  34. 3.0.72

    No notes for this release in the current readme.

    Source Diff vs 3.0.71
  35. 3.0.71

    No notes for this release in the current readme.

    Source Diff vs 3.0.70
  36. 3.0.70

    No notes for this release in the current readme.

    Source Diff vs 3.0.62
  37. 3.0.62

    No notes for this release in the current readme.

    Source Diff vs 3.0.61
  38. 3.0.61

    No notes for this release in the current readme.

    Source Diff vs 3.0.60
  39. 3.0.60

    No notes for this release in the current readme.

    Source Diff vs 3.0.51
  40. 3.0.51

    No notes for this release in the current readme.

    Source Diff vs 3.0.5
  41. 3.0.5

    No notes for this release in the current readme.

    Source Diff vs 3.0.3
  42. 3.0.3

    No notes for this release in the current readme.

    Source Diff vs 3.0.2
  43. 3.0.2

    No notes for this release in the current readme.

    Source Diff vs 3.0.1
  44. 3.0.1

    No notes for this release in the current readme.

    Source Diff vs 3.0.0
  45. 3.0.0

    No notes for this release in the current readme.

    Source Diff vs 2.15
  46. 2.15

    No notes for this release in the current readme.

    Source Diff vs 2.13
  47. 2.13

    No notes for this release in the current readme.

    Source Diff vs 2.12
  48. 2.12

    No notes for this release in the current readme.

    Source Diff vs 2.11
  49. 2.11

    No notes for this release in the current readme.

    Source Diff vs 2.1.5
  50. 2.1.5

    No notes for this release in the current readme.

    Source