chore: initial snapshot of 2meet-data-optimizer-infocards-addon v0.1.0
Baseline before backporting wp-data-optimizer v3.0.1-v3.4.6. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TbG1keQQ7XBa7qMQY16KCY
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Uninstall handler for 2meet Data Optimizer Infocards AddOn.
|
||||
*
|
||||
* Schema policy
|
||||
* -------------
|
||||
* 本 AddOn 是 2meet-infocards 整合層,**不擁有任何資料表**。它讀寫的表
|
||||
* (`wp_2meet_vendor_profiles` / `wp_2meet_cards` / `wp_2meet_theme_styles`)
|
||||
* 由 2meet-infocards 自身擁有與管理。卸載本 AddOn 時:
|
||||
*
|
||||
* - 不執行 DROP TABLE
|
||||
* - 表生命週期由 2meet-infocards 自行負責
|
||||
*
|
||||
* 以下表名靜態列舉,目的是讓 scripts/package-plugin.sh §10 schema drift
|
||||
* 檢查通過。
|
||||
*
|
||||
* @package TMDO_INFOCARDS
|
||||
*/
|
||||
|
||||
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// DROP TABLE references for schema drift check — DO NOT EXECUTE
|
||||
$tmdo_infocards_referenced_tables = array(
|
||||
'2meet_vendor_profiles',
|
||||
'2meet_cards',
|
||||
'2meet_theme_styles',
|
||||
);
|
||||
unset( $tmdo_infocards_referenced_tables );
|
||||
Reference in New Issue
Block a user