PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.12.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.12.0
5.12.0 5.13.0 5.13.1 5.11.0 5.10.0 5.9.0 5.8.0 5.8.1 5.7.0 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 All 47 releases
← All changes | OnActivation.php +9 -0 5.6.0 → 5.12.0 View file →
@@ -48,10 +48,14 @@
48 48 form LONGTEXT,
49 49 mail_optin LONGTEXT,
50 50 consent_text TEXT,
51 51 consent_field varchar(64) DEFAULT '',
52 + form_ref varchar(64) NOT NULL DEFAULT '',
52 53 reminder_sent_at varchar(255) DEFAULT '',
53 54 mail_reminder LONGTEXT,
55 + mail_status varchar(20) NOT NULL DEFAULT '',
56 + mail_error varchar(255) NOT NULL DEFAULT '',
57 + mail_status_at varchar(19) NOT NULL DEFAULT '',
54 58 PRIMARY KEY (id)
55 59 )";
56 60
57 61 dbDelta( $sql );
@@ -134,8 +138,13 @@
134 138 createTableOptin();
135 139 createTableOptinCategories();
136 140 createTableAuditLog();
137 141 \Forge12\DoubleOptIn\Repository\FollowUpSchema::install();
142 + }
143 +
144 + // Open the setup wizard once after a single-site activation.
145 + if ( class_exists( '\Forge12\DoubleOptIn\Setup\SetupRedirect' ) ) {
146 + \Forge12\DoubleOptIn\Setup\SetupRedirect::onActivation( (bool) $network_wide );
138 147 }
139 148
140 149 $logger->info( 'Plugin activation completed', [
141 150 'plugin' => 'double-opt-in',