Files
wpdev 421a8bc777
Tests / PHP Lint (push) Successful in 4s
Tests / Unit Tests (push) Successful in 16s
Tests / Integration Tests (push) Successful in 20s
docs: CHANGELOG 記錄 3 個 WC runtime 欄位與 integration 測試套件
2026-07-31 10:43:50 +08:00

39 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
All notable changes to this AddOn will be documented here.
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
Versioning follows [Semantic Versioning](https://semver.org/).
---
## [Unreleased]
### Added
- 三個 WC runtime usermeta 欄位進 `user`/`hot` group`wc_last_active`
`wc_order_count_<blog-prefix>``last_update`。先前未註冊,這些高頻欄位
會落回 `wp_usermeta`
- `tests/integration/`bootstrap(複用核心的 integration bootstrap,連真實
MariaDB+ `phpunit-integration.xml` + CI job,移植 `WCTermCountFilterTest`
18 tests)。
### Notes
- `wc_order_count` 走 WooCommerce 的 `Users::update_site_user_meta()`,實際
key 是 `'wc_order_count' . '_' . rtrim( get_blog_prefix(), '_' )`。來源外掛
寫死主站形式 `wc_order_count_wp`multisite 子站(`_wp_2`)會漏接;此處用
同一條運算式算出來。
- Phase 3 implementation in progress.
---
## [0.1.0] — TBD
### Added (initial release, scaffold)
- Plugin scaffold from `wp-data-optimizer v2.16.0` extraction plan.
- Plugin Header + bootstrap stub + 7 MD + composer.json.
- Requires Plugins: `2meet-data-optimizer`, `woocommerce`.