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/CategoryOptions.class.php +2 -1 3.1.0 → 5.5.0 View file →
@@ -93,9 +93,10 @@
93 93 'plugin' => 'double-opt-in',
94 94 ] );
95 95
96 96 // Check for nonce verification
97 - if ( ! \wp_verify_nonce( $_POST['f12_cf7_doubleoptin_ui_table_options_nonce'], 'f12_cf7_doubleoptin_ui_table_options_action' ) ) {
97 + if ( ! isset( $_POST['f12_cf7_doubleoptin_ui_table_options_nonce'] )
98 + || ! \wp_verify_nonce( wp_unslash( $_POST['f12_cf7_doubleoptin_ui_table_options_nonce'] ), 'f12_cf7_doubleoptin_ui_table_options_action' ) ) {
98 99 $this->get_logger()->warning( 'Nonce verification failed during category update.', [
99 100 'plugin' => 'double-opt-in',
100 101 'nonce' => $_POST['f12_cf7_doubleoptin_ui_table_options_nonce'] ?? 'not set',
101 102 ] );