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