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 | src/FormSettings/FormSettingsService.php +7 -0 5.3.2 → 5.6.2 View file →
@@ -8,8 +8,9 @@
8 8
9 9 namespace Forge12\DoubleOptIn\FormSettings;
10 10
11 11 use Forge12\DoubleOptIn\EmailTemplates\EmailTemplateRepository;
12 +use Forge12\DoubleOptIn\Health\StaleConsentFieldCheck;
12 13 use Forge12\DoubleOptIn\Integration\FormIntegrationRegistry;
13 14 use Forge12\DoubleOptIn\Integration\SubmittedContent;
14 15 use Forge12\Shared\LoggerInterface;
15 16
@@ -143,8 +144,14 @@
143 144 'form_id' => $formId,
144 145 'enabled' => $settings->enabled,
145 146 )
146 147 );
148 +
149 + // The acceptance-field health check caches its scan for hours.
150 + // Someone who just saved these settings very likely did so to fix
151 + // what that check reported, and a stale "still broken" would be a
152 + // bad answer.
153 + StaleConsentFieldCheck::flush();
147 154
148 155 return true;
149 156 }
150 157