95f3114127
Tests / PHP Lint (pull_request) Successful in 38s
Version bump for a re-release packaged alongside the WP-MVB v8 hub (dev39) acceptance; code is identical to the previous release.
3.0 KiB
3.0 KiB
Changelog
All notable changes to this AddOn will be documented here.
Format follows Keep a Changelog. Versioning follows Semantic Versioning.
[Unreleased]
- Phase 3 implementation in progress.
[0.1.4] — 2026-10-02 — 重新打包
Changed
- 重新打包(無功能變更):與 WP-MVB v8 樞紐站(dev39)一同驗收後發版;程式碼與前一版相同。
[0.1.3] — 2026-09-27
Released with 2meet-data-optimizer 1.3.0 (hardening 2.3).
Fixed
- Uninstall on a network of more than 100 sites:
get_sites()returns 100 sites unless'number' => 0, so the index table and option were left on the rest. (PR-100)
[0.1.2] — 2026-09-26
Fixed
- Uninstall now drops
wp_hpct_latepoint_idx(every site on multisite) and thetmdo_latepoint_db_versionoption. 0.1.1 started creating the table, butuninstall.phpwas still the Phase 0 stub and left it behind. The table is an index rebuilt from LatePoint's bookings; LatePoint's own tables are kept.
[0.1.1] — 2026-08-08 — 補上從未存在的 wp_hpct_latepoint_idx 建表流程
Fixed
wp_hpct_latepoint_idx從未被建立,索引同步全程靜默失敗(嚴重)。 這張表 在整個wp-data-optimizer/2meet-data-optimizer系譜中從未有過CREATE TABLE定義,但TMDO_LatePoint_Interceptor::sync_booking()一直對它 做 INSERT/UPDATE,且整段包在 try/catch 內——在乾淨站台上每一次 booking 同步都 會失敗,索引表永遠是空的,而且沒有任何錯誤訊號可循。新增TMDO_Latepoint_Bootstrap::maybe_install_table(),以dbDelta()建立 12 欄表 (booking_idUNIQUE KEY +agent_id/service_id/customer_id三個 KEY), 並以tmdo_latepoint_db_versionoption 追蹤版本。刻意不只掛register_activation_hook():本外掛多以 git pull 部署、不會經過停用/啟用循環, 唯有版本 option 才能確保既有安裝也補建到表。TMDO_Custom_Table_Registry::register()的索引期望值 config key 由expected_indexes更正為indexes。該 API 以wp_parse_args()併入預設值, 未知 key 會被靜默丟棄——先前索引期望值等同從未送達 registry,wp wpdo doctor的 schema drift 只驗欄位、不驗索引。此問題橫跨全部 8 個 AddOn, 已一併更正。
Added
TMDO_Latepoint_Bootstrap::register_custom_tables():把hpct_latepoint_idx註冊進TMDO_Custom_Table_Registry(12 欄expected_columns+ 4 個indexes), 讓wp wpdo doctor/benchmark/cleanup能治理此表。此前這張表對 TMDO 治理工具完全不可見。
[0.1.0] — TBD
Added (initial release, scaffold)
- Plugin scaffold from
wp-data-optimizer v2.16.0extraction plan. - Plugin Header + bootstrap stub + 7 MD + composer.json.
- Requires Plugins:
2meet-data-optimizer,latepoint.