bfa6a06d07
Tests / PHP Lint (pull_request) Successful in 7s
Version bump for a re-release packaged alongside the WP-MVB v8 hub (dev39) acceptance; code is identical to the previous release.
2.1 KiB
2.1 KiB
Changelog
All notable changes to this AddOn will be documented here.
Format follows Keep a Changelog. Versioning follows Semantic Versioning.
[Unreleased]
- Phase 4 implementation in progress.
[0.1.2] — 2026-10-02 — 重新打包
Changed
- 重新打包(無功能變更):與 WP-MVB v8 樞紐站(dev39)一同驗收後發版;程式碼與前一版相同。
[0.1.1] — 2026-08-08 — 5 張 2mpl_* 表補齊 schema 期望值
Added
- 為全部 5 張
2mpl_*表補上expected_columns與indexes:2mpl_singer_settings、2mpl_songs、2mpl_queue、2mpl_rate_limits、2mpl_sessions。欄位與索引逐項轉錄自 2meet-playlist activator 的CREATE TABLE。先前只註冊表名,wp wpdo doctor只知道表存在,無從判斷欄位或 索引是否漂移——2mpl_queue/2mpl_rate_limits這類高頻讀寫表尤其吃索引, 漏建索引卻沒有警訊是實際風險。
Fixed
TMDO_Custom_Table_Registry::register()的索引期望值 config key 由expected_indexes更正為indexes。該 API 以wp_parse_args()併入預設值, 未知 key 會被靜默丟棄——先前索引期望值等同從未送達 registry,wp wpdo doctor的 schema drift 只驗欄位、不驗索引。此問題橫跨全部 8 個 AddOn, 已一併更正。TMDO_Playlist::register()的 partner 偵測符號對齊實際存在的常數。舊版偵測的TMPL_Main類別在 2meet-playlist 中根本不存在。補上TMPL_VERSION/TMPL_PLUGIN_DIR(兩者在主檔檔案解析當下即 define,早於plugins_loaded), 並保留確實存在的TMPL_Plugin。 實測(mu-plugin 於plugins_loaded:6量測):TMPL_VERSION= AVAILABLE。file_exists()後備保留不動,行為不變;但偵測不再含死符號。
[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,2meet-playlist.