hardening 2.2: 2meet-data-optimizer-woocommerce-addon 0.2.0 (WooCommerce meta stays native) #3

Merged
wpdev merged 2 commits from hardening/2.2 into main 2026-09-27 10:56:59 +08:00
2 changed files with 32 additions and 2 deletions
Showing only changes of commit 655ab88e86 - Show all commits
+2 -2
View File
@@ -3,7 +3,7 @@
* Plugin Name: 2meet Data Optimizer — Woocommerce AddOn * Plugin Name: 2meet Data Optimizer — Woocommerce AddOn
* Plugin URI: https://2meet.io/2meet-data-optimizer/woocommerce * Plugin URI: https://2meet.io/2meet-data-optimizer/woocommerce
* Description: WooCommerce 整合:20 表 schema 註冊 + commission tracking (wp_wpdo_wc_commissions) + product/order zone + HPOS notice * Description: WooCommerce 整合:20 表 schema 註冊 + commission tracking (wp_wpdo_wc_commissions) + product/order zone + HPOS notice
* Version: 0.1.1 * Version: 0.2.0
* Requires at least: 6.0 * Requires at least: 6.0
* Tested up to: 6.9.4 * Tested up to: 6.9.4
* Requires PHP: 8.1 * Requires PHP: 8.1
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; exit;
} }
define( 'TMDO_WOOCOMMERCE_VERSION', '0.1.1' ); define( 'TMDO_WOOCOMMERCE_VERSION', '0.2.0' );
define( 'TMDO_WOOCOMMERCE_PATH', plugin_dir_path( __FILE__ ) ); define( 'TMDO_WOOCOMMERCE_PATH', plugin_dir_path( __FILE__ ) );
define( 'TMDO_WOOCOMMERCE_URL', plugin_dir_url( __FILE__ ) ); define( 'TMDO_WOOCOMMERCE_URL', plugin_dir_url( __FILE__ ) );
define( 'TMDO_WOOCOMMERCE_FILE', __FILE__ ); define( 'TMDO_WOOCOMMERCE_FILE', __FILE__ );
+30
View File
@@ -11,6 +11,36 @@ Versioning follows [Semantic Versioning](https://semver.org/).
--- ---
## [0.2.0] — 2026-09-27
Released with 2meet-data-optimizer 1.2.0 (hardening 2.2, search-index mode
decision 2: WooCommerce meta stays native).
### Removed
- WooCommerce meta is no longer copied to flat tables. WooCommerce reads its
meta directly and writes stock / sales by SQL, so a flat copy drifted
(R-2.1: stock and `total_sales` out of step after an order). No longer
registered:
- product and order zone fields (`wpdo_register_fields`), including the
subscription fields;
- the `user` / `hot` entity group (`wpdo_register_entity_fields`),
including the three fields added in 0.1.1.
- Kept: the `wp_wc_*` custom table registry, the HPOS notice, the
Marketplace commission tracking and the term count filter.
### Upgrading
- Nothing is dropped. With the user entity below `aeav_only`, WooCommerce keeps
reading native user meta and the `wp_wpdo_user_hot` table is simply no
longer written. In `aeav_only`, core restores the group as an orphan so its
values stay readable; `wp tmdo bridge-restore-native user --group=hot --retire`
writes them back to native and archives the table.
- Product flat data (core's former `post/wc_product` group): see
2meet-data-optimizer 1.2.0.
---
## [0.1.1] — 2026-09-26 ## [0.1.1] — 2026-09-26
Hardening 2.0 changes, released alongside 2meet-data-optimizer 1.1.0. Hardening 2.0 changes, released alongside 2meet-data-optimizer 1.1.0.