refactor(2meet-data-optimizer): stop registering HivePress entity groups in core

- Drop hp_listing_core / hp_request_core / hp_vendor_core from TMDO_Post_Fields and hp_user from TMDO_Member_Fields; the HivePress AddOn registers identical definitions (PR-019/020a/033b)
- Tests: core asserts it registers none of them; HP-specific core tests removed (covered by the AddOn); SyncBridgeEntityGuardTest registers its own hp_price group
- Verify: core unit 633 / integration 449, HP 145/49, WC 10/22 OK
- Deploy: activate the HivePress AddOn on dev20/21/22 first
- PR: PR-020b
This commit is contained in:
2026-09-26 00:07:31 +08:00
parent e0683a19b1
commit 1eedaa9b3c
7 changed files with 22 additions and 274 deletions
@@ -45,6 +45,12 @@ class MemberFieldsRegistrationTest extends TestCase {
}
}
public function test_core_registers_no_hp_user_group(): void {
WPDO_Member_Fields::register_entity_fields();
$this->assertSame( array(), WPDO_Entity_Registry::get_group_fields( 'user', 'hp_user' ), 'hp_user is owned by the HivePress AddOn' );
}
// ── membership group ─────────────────────────────────────────────────────
public function test_membership_group_has_six_fields(): void {