PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.9.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.9.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 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 All 42 releases
← All changes | src/Service/PrivacyIntegration.php +7 -1 5.8.1 → 5.9.0 View file →
@@ -160,11 +160,17 @@
160 160
161 161 if ( $this->mailStatus !== null ) {
162 162 $mail = $this->mailStatus->find( $optIn->getId() );
163 163 if ( $mail['status'] !== '' ) {
164 + // Same wording as the opt-in detail page, not the stored key.
165 + $value = $mail['status'] === 'failed'
166 + /* translators: %s: date and time of the attempt */
167 + ? sprintf( __( 'Could not be sent (%s)', 'double-opt-in' ), $mail['at'] )
168 + /* translators: %s: date and time the mail was handed over */
169 + : sprintf( __( 'Handed to the mail server (%s)', 'double-opt-in' ), $mail['at'] );
164 170 $data[] = array(
165 171 'name' => __( 'Confirmation mail', 'double-opt-in' ),
166 - 'value' => trim( $mail['status'] . ' ' . $mail['at'] . ( $mail['error'] !== '' ? ' — ' . $mail['error'] : '' ) ),
172 + 'value' => $value . ( $mail['error'] !== '' ? ' — ' . $mail['error'] : '' ),
167 173 );
168 174 }
169 175 }
170 176