PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.5.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.5.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 | core/Messages.class.php +4 -1 3.1.0 → 5.5.0 View file →
@@ -64,9 +64,9 @@
64 64 'plugin' => 'double-opt-in',
65 65 ] );
66 66
67 67 if ( empty( $this->messages ) ) {
68 - $this->get_logger()->warning( 'No messages found to combine.', [
68 + $this->get_logger()->debug( 'No messages found to combine.', [
69 69 'plugin' => 'double-opt-in',
70 70 ] );
71 71 return '';
72 72 }
@@ -76,8 +76,11 @@
76 76 $this->get_logger()->debug( 'Combined ' . count($this->messages) . ' messages.', [
77 77 'plugin' => 'double-opt-in',
78 78 'message_count' => count( $this->messages ),
79 79 ] );
80 +
81 + // Clear messages after retrieval to prevent duplicates
82 + $this->messages = [];
80 83
81 84 return $combined_messages;
82 85 }
83 86