diff --git a/uninstall.php b/uninstall.php index e0a667a..db27064 100644 --- a/uninstall.php +++ b/uninstall.php @@ -20,9 +20,12 @@ $tables = [ 'forum_reactions', 'forum_notifications', 'forum_subscriptions', + 'forum_bookmarks', // ← fehlte: Lesezeichen + 'forum_ignore_list', // ← Ignore/Block-Liste 'forum_invites', 'forum_thread_tags', 'forum_tags', + 'forum_prefixes', // ← fehlte: Thread-Präfixe 'forum_reports', 'forum_likes', 'forum_messages', @@ -49,6 +52,7 @@ $options = [ 'wbf_forum_page_id', 'wbf_superadmin_email', 'wbf_db_version', + 'wbf_word_filter', ]; foreach ( $options as $option ) { @@ -65,8 +69,9 @@ if ( is_multisite() ) { // ── 3. Transients löschen ──────────────────────────────────────────────────── delete_transient( 'wbf_activation_redirect' ); delete_transient( 'wbf_stats_cache' ); +delete_transient( 'wbf_update_check' ); -// Alle wbf_* Transients per LIKE-Query entfernen +// Alle wbf_* Transients per LIKE-Query entfernen (inkl. Update-Dismissed-Transients) $wpdb->query( "DELETE FROM `{$wpdb->options}` WHERE `option_name` LIKE '_transient_wbf_%' @@ -75,6 +80,7 @@ $wpdb->query( // ── 4. Geplante Cron-Jobs entfernen ────────────────────────────────────────── wp_clear_scheduled_hook( 'wbf_check_expired_bans' ); +wp_clear_scheduled_hook( 'wbf_check_for_updates' ); // ── 5. Forum-Seite löschen (vom Setup-Wizard erstellt) ─────────────────────── $forum_page_id = get_option( 'wbf_forum_page_id' );