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:
@@ -6,7 +6,8 @@
|
||||
* mobile-bridge, playlist, quotation, spoke) only registered tables and fields
|
||||
* on the partner's behalf. Partner plugins now register themselves with the
|
||||
* TMDO_Anti_EAV_Aware trait (docs/PARTNER-REGISTRATION.md), so these AddOns
|
||||
* are deprecated and will be removed.
|
||||
* are deprecated and will be removed. The hub and spoke AddOns are replaced
|
||||
* by 2meet-data-optimizer-sso-addon.
|
||||
*
|
||||
* @package WP_Data_Optimizer
|
||||
*/
|
||||
@@ -79,5 +80,11 @@ final class TMDO_Deprecated_Addons_Notice {
|
||||
),
|
||||
esc_html__( '改寫方式見 2meet-data-optimizer 外掛內的 docs/PARTNER-REGISTRATION.md;partner 外掛完成自行註冊後即可停用對應 AddOn。', '2meet-data-optimizer' )
|
||||
);
|
||||
if ( array_intersect( $active, array( 'hub', 'spoke' ) ) ) {
|
||||
printf(
|
||||
'<div class="notice notice-warning"><p>%s</p></div>',
|
||||
esc_html__( 'Hub / Spoke AddOn 由 2meet-data-optimizer-sso-addon 取代:啟用它之後即可停用這兩個 AddOn。', '2meet-data-optimizer' )
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user