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 | uninstall.php +0 -16 5.7.0 → 5.5.0 View file →
@@ -75,15 +75,8 @@
75 75 'table_name' => $wpTableName,
76 76 ] );
77 77 }
78 78
79 -function drop_table_followup() {
80 - global $wpdb;
81 -
82 - // Follow-up status only references opt-ins; it goes with them.
83 - $wpdb->query( "DROP TABLE IF EXISTS " . esc_sql( $wpdb->prefix . 'f12_cf7_doubleoptin_followup' ) );
84 -}
85 -
86 79 if ( should_keep_data_on_uninstall() ) {
87 80 Logger::getInstance()->info( 'Uninstall: keeping opt-in data (keep_data_on_uninstall enabled).', [
88 81 'plugin' => 'double-opt-in',
89 82 ] );
@@ -91,9 +84,8 @@
91 84 Logger::getInstance()->info( 'Uninstall: deleting opt-in data (keep_data_on_uninstall disabled by admin).', [
92 85 'plugin' => 'double-opt-in',
93 86 ] );
94 87 drop_table_categories();
95 - drop_table_followup();
96 88 drop_table_optin();
97 89 }
98 90
99 91 // Purely operational options with no value after removal. Admin-set config
@@ -101,17 +93,9 @@
101 93 // (bundle-pro licence, addon settings) are owned by their own uninstallers.
102 94 delete_option( 'f12_cf7_doubleoptin_installed_at' );
103 95 delete_option( 'f12_cf7_doubleoptin_installation_uuid' );
104 96 delete_option( 'f12_cf7_doubleoptin_telemetry_counters' );
105 -// Setup wizard progress. The sender defaults it stored (f12_doi_form_defaults)
106 -// are admin-set config and stay, like f12-doi-settings.
107 -delete_option( 'f12_doi_setup' );
108 -delete_transient( 'f12_doi_setup_redirect' );
109 97
110 98 // The daily telemetry job is no longer scheduled, but an installation that ran
111 99 // an older version still carries the event. Uninstalling has to take it with
112 100 // it, otherwise the entry outlives the plugin in the WP-Cron table.
113 101 wp_clear_scheduled_hook( 'f12_cf7_doubleoptin_daily_telemetry' );
114 -wp_clear_scheduled_hook( 'f12_doi_follow_up_sweep' );
115 -// Retry events carry the opt-in id as argument; only unschedule_hook
116 -// removes them regardless of arguments.
117 -wp_unschedule_hook( 'f12_doi_follow_up_retry' );