fix(2meet-data-optimizer-latepoint-addon): drop the booking index table on uninstall
Tests / PHP Lint (pull_request) Successful in 4s

- 0.1.1 started creating wp_hpct_latepoint_idx, but uninstall.php was still the Phase 0 stub and left it behind (package check §10: CREATE without DROP)
- Uninstall drops the table and the tmdo_latepoint_db_version option on every site; LatePoint's own tables are kept (the index is rebuilt from its bookings)
- Version 0.1.2, CHANGELOG
- Verify: php -l; dev36 uninstall run removed a stand-in table and the option
This commit is contained in:
2026-09-26 21:54:20 +08:00
parent c9378e9c9f
commit d0723c5d0a
3 changed files with 28 additions and 3 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
* Plugin Name: 2meet Data Optimizer — Latepoint AddOn
* Plugin URI: https://2meet.io/2meet-data-optimizer/latepoint
* Description: LatePoint 預約系統 booking 索引同步(4 hook → wp_hpct_latepoint_idx)
* Version: 0.1.1
* Version: 0.1.2
* Requires at least: 6.0
* Tested up to: 6.9.4
* Requires PHP: 8.1
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'TMDO_LATEPOINT_VERSION', '0.1.1' );
define( 'TMDO_LATEPOINT_VERSION', '0.1.2' );
define( 'TMDO_LATEPOINT_PATH', plugin_dir_path( __FILE__ ) );
define( 'TMDO_LATEPOINT_URL', plugin_dir_url( __FILE__ ) );
define( 'TMDO_LATEPOINT_FILE', __FILE__ );