From cd5da4143e66d687c42b48be8f8115414658a475 Mon Sep 17 00:00:00 2001 From: wpdev Date: Mon, 28 Sep 2026 18:26:15 +0800 Subject: [PATCH] chore(2meet-data-optimizer): uninstall message points to bridge-restore-native; stress tester drops wc_product - The refused-uninstall notice said no tool writes the data back to native tables; wp tmdo bridge-restore-native does. - The post stress tester no longer maps product to the retired wc_product table. - Verify: unit 711, integration 611, phpcs 0 - PR: PR-139 (manual F-7, F-8) --- includes/class-tmdo-post-stress-tester.php | 2 -- uninstall.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/class-tmdo-post-stress-tester.php b/includes/class-tmdo-post-stress-tester.php index e483656..3e20750 100644 --- a/includes/class-tmdo-post-stress-tester.php +++ b/includes/class-tmdo-post-stress-tester.php @@ -872,7 +872,6 @@ final class TMDO_Post_Stress_Tester { global $wpdb; $prefix = $wpdb->prefix . 'wpdo_post_'; $map = array( - 'product' => $prefix . 'wc_product', 'hp_listing' => $prefix . 'hp_listing_core', 'hp_request' => $prefix . 'hp_request_core', 'hp_vendor' => $prefix . 'hp_vendor_core', @@ -1036,7 +1035,6 @@ final class TMDO_Post_Stress_Tester { return array( $prefix . 'wp_core', $prefix . 'attachment', - $prefix . 'wc_product', $prefix . 'hp_listing_core', $prefix . 'hp_request_core', $prefix . 'hp_vendor_core', diff --git a/uninstall.php b/uninstall.php index c6e0a40..f1fe960 100644 --- a/uninstall.php +++ b/uninstall.php @@ -94,7 +94,7 @@ if ( $wpdo_blocked ) { wp_die( '

' . esc_html( '2meet Data Optimizer 已停止解除安裝:以下資料只存在 wpdo_* 表,刪除外掛會一併刪除這些表。' ) . '

' . '' - . '

' . esc_html( '目前沒有把這些資料寫回 WordPress 原生表的自動工具。若只想移除外掛程式,可手動刪除外掛目錄,資料表會保留。' ) . '

' + . '

' . esc_html( '請先以 wp tmdo bridge-restore-native 把資料寫回 WordPress 原生表,再解除安裝。若只想移除外掛程式,可手動刪除外掛目錄,資料表會保留。' ) . '

' ); }