hardening 2.1: 2meet-data-optimizer-hivepress-addon 0.2.0 (staged rollout) #2

Merged
wpdev merged 1 commits from hardening/2.1 into main 2026-09-26 21:19:52 +08:00
Owner

Hardening 2.1 for 2meet-data-optimizer-hivepress-addon (version 0.2.0), released with 2meet-data-optimizer 1.1.0 (search-index mode, ADR-004 in core).

Commits

  • refactor(2meet-data-optimizer-hivepress-addon): leave HivePress queries to the post router

Summary

  • optimize_query / optimize_search are no longer bound while core's post router is active: core routes HivePress searches (filters and _sort) to the entity flat tables, and two routers would claim the same clauses.

Verification

  • unit 144 (+2 binding tests), integration 49; dev36 fe.sh 9 URLs identical to native.

Rollout

Deploy together with core 1.1.0 (staged, dev22 first); plugins/ is untouched by this merge.

Hardening 2.1 for `2meet-data-optimizer-hivepress-addon` (version 0.2.0), released with `2meet-data-optimizer` 1.1.0 (search-index mode, ADR-004 in core). ## Commits - refactor(2meet-data-optimizer-hivepress-addon): leave HivePress queries to the post router ## Summary - `optimize_query` / `optimize_search` are no longer bound while core's post router is active: core routes HivePress searches (filters and `_sort`) to the entity flat tables, and two routers would claim the same clauses. ## Verification - unit 144 (+2 binding tests), integration 49; dev36 `fe.sh` 9 URLs identical to native. ## Rollout Deploy together with core 1.1.0 (staged, dev22 first); `plugins/` is untouched by this merge.
wpdev added 1 commit 2026-09-26 21:12:10 +08:00
refactor(2meet-data-optimizer-hivepress-addon): leave HivePress queries to the post router
Tests / PHP Lint (pull_request) Successful in 1m5s
Tests / Unit Tests (pull_request) Successful in 1m9s
Tests / Integration Tests (pull_request) Failing after 1m46s
a01314cbb1
- Do not bind optimize_query / optimize_search on hivepress/v1/models/{listing,vendor}/{query,search} while core's TMDO_Post_Query_Router is active: core now routes HivePress searches (filters and _sort) to the entity flat tables, and two routers would claim the same clauses
- Version 0.2.0 (released with core 1.1.0); CHANGELOG
- Verify: composer test (144, +2 binding tests); integration 49; dev36 fe.sh 9 URLs ids == native (except known flat drift)
- PR: PR-063
wpdev merged commit fda9e43087 into main 2026-09-26 21:19:52 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wpdev/2meet-data-optimizer-hivepress-addon#2