PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.6.2
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.6.2
5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 3.0.51 3.0.60 3.0.61 3.0.62 All 38 releases
← All changes | CF7DoubleOptIn.class.php +21 -3 5.3.1 → 5.6.2 View file →
@@ -14,9 +14,9 @@
14 14 * Plugin URI: https://www.forge12.com/blog/so-verwendest-du-das-double-opt-in-fuer-contact-form-7/
15 15 * Description: This plugin allows you to add a double OptIn System to your Contact Form 7 & Avada Forms.
16 16 * Text Domain: double-opt-in
17 17 * Domain Path: /languages
18 - * Version: 5.3.1
18 + * Version: 5.6.2
19 19 * Requires at least: 6.0
20 20 * Requires PHP: 7.4
21 21 * Author: Forge12 Interactive GmbH
22 22 * Author URI: https://www.forge12.com
@@ -56,9 +56,9 @@
56 56 return;
57 57 }
58 58
59 59 if ( ! defined( 'FORGE12_OPTIN_VERSION' ) ) {
60 - define( 'FORGE12_OPTIN_VERSION', '5.3.1' );
60 + define( 'FORGE12_OPTIN_VERSION', '5.6.2' );
61 61 }
62 62
63 63 // Addon API version — semver-independent from the plugin's marketing
64 64 // version. Bumped only on breaking changes to the Addon API surface
@@ -64,10 +64,20 @@
64 64 // version. Bumped only on breaking changes to the Addon API surface
65 65 // (AddonInterface, AddonRegistry, AddonLicenseRegistry, FormIntegrationInterface,
66 66 // event payloads). Addons declare their requirement against this constant,
67 67 // not FORGE12_OPTIN_VERSION.
68 + //
69 + // 4.4.0 (additive): FollowUp\FollowUpAdapterInterface, FollowUpCoordinator,
70 + // FollowUpAdapterRegistry. Addons that implement follow-up adapters
71 + // require ^4.4; everything else keeps working against 4.3.
72 + //
73 + // 4.5.0 (additive): AbstractFormIntegration::refusedConsentBeforeSubmit(),
74 + // OptInError::isAlwaysShown()/shouldShowToVisitor(),
75 + // OptInFrontend::getLastCreationError(), ErrorNotification::forget().
76 + // The Elementor, WPForms and Gravity Forms add-ons call them only when they
77 + // exist (method_exists), so their requirement stays ^4.4.
68 78 if ( ! defined( 'F12_DOI_CORE_API_VERSION' ) ) {
69 - define( 'F12_DOI_CORE_API_VERSION', '4.3.0' );
79 + define( 'F12_DOI_CORE_API_VERSION', '4.5.0' );
70 80 }
71 81 if ( ! defined( 'FORGE12_OPTIN_SLUG' ) ) {
72 82 define( 'FORGE12_OPTIN_SLUG', 'f12-cf7-doubleoptin' );
73 83 }
@@ -98,8 +108,11 @@
98 108 require_once 'core/BaseController.class.php';
99 109
100 110 require_once 'OnActivation.php';
101 111 require_once 'OnDeactivation.php';
112 + // OnUpdate runs at include time, before autoload.php is registered
113 + // further down — load the one PSR-4 class it needs explicitly.
114 + require_once 'src/Repository/FollowUpSchema.php';
102 115 require_once 'OnUpdate.php';
103 116 require_once 'compatibility/OptInFrontend.class.php';
104 117 require_once 'core/SpamMechanics.class.php';
105 118
@@ -441,8 +454,13 @@
441 454 $container->addProvider( new \Forge12\DoubleOptIn\Providers\LicensingServiceProvider() );
442 455
443 456 // Register migration registry (v4.3.0+ — runs pending DB migrations on admin_init)
444 457 $container->addProvider( new \Forge12\DoubleOptIn\Providers\MigrationServiceProvider() );
458 +
459 + // Register follow-up coordinator (v5.6.0+ — status + retry of
460 + // post-confirmation actions). Before AddonServiceProvider so
461 + // the adapter registry exists when the form addons boot.
462 + $container->addProvider( new \Forge12\DoubleOptIn\Providers\FollowUpServiceProvider() );
445 463
446 464 // Register addon system (v4.3.0+ — public Addon API)
447 465 $container->addProvider( new \Forge12\DoubleOptIn\Providers\AddonServiceProvider() );
448 466