refactor(2meet-data-optimizer): stop registering the sso group in core

- TMDO_Member_Fields no longer registers user/sso; the definition moved
  unchanged (hash 03543f19) to 2meet-data-optimizer-sso-addon.
- missing_integration_addons(): 2meet-hub-core or 2meet-spoke-sso without
  the SSO AddOn is reported (admin notice + Site Health).
- The deprecated-AddOn notice points hub / spoke users to the SSO AddOn.
- Sites must activate the SSO AddOn before this ships (PR-041); aeav_only
  sites without it fall back to orphan-group restore.
- Verify: core unit 659 / integration 475, SSO 6, HP 142/49, WC 10/22
  green, phpcs clean
- PR: PR-040
This commit is contained in:
2026-09-26 03:39:58 +08:00
parent 10671e7b78
commit c70dc99bf9
6 changed files with 53 additions and 104 deletions
+4
View File
@@ -85,6 +85,10 @@ class TMDO_Compatibility {
if ( self::is_woocommerce_active() && ! class_exists( 'TMDO_Woocommerce_Bootstrap' ) ) {
$missing['WooCommerce'] = '2meet-data-optimizer-woocommerce-addon';
}
// 2meet-hub-core / 2meet-spoke-sso read and write the user `sso` group it owns.
if ( ( class_exists( 'TMHC_Plugin', false ) || class_exists( 'TMSO_Plugin', false ) ) && ! class_exists( 'TMDO_SSO_Integration', false ) ) {
$missing['2meet Hub / Spoke SSO'] = '2meet-data-optimizer-sso-addon';
}
return $missing;
}