Feature Description
In order to launch Setup Flow Refresh Phase 4, we need to override the setupFlowRefreshPhase4 feature flag status to true in the plugin. We can use the googlesitekit_is_feature_enabled filter to achieve this.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The
setupFlowRefreshPhase4 feature flag is overridden to true in the plugin.
- The Setup Flow Refresh Phase 4 features are enabled by default and continue to work as expected.
Implementation Brief
Test Coverage
QA Brief
-
Keep the setupFlowRefreshPhase4 feature flag disabled in the tester plugin, with "Do not override" selected for the "Force enabled feature flags" setting.
-
Setup the SK plugin.
-
Run following command in the browser console from SK dashboard. It should output list of enabled feature flags, which should also contains setupFlowRefreshPhase4.
_googlesitekitBaseData.enabledFeatures
Changelog entry
Feature Description
In order to launch Setup Flow Refresh Phase 4, we need to override the
setupFlowRefreshPhase4feature flag status totruein the plugin. We can use thegooglesitekit_is_feature_enabledfilter to achieve this.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
setupFlowRefreshPhase4feature flag is overridden totruein the plugin.Implementation Brief
In
includes/Plugin.php:googlesitekit_is_feature_enabledfilter callback to forcesetupFlowRefreshPhase4totrue. We can use existingforce_setup_flow_refresh_feature_enabledcallback.setupFlowRefreshPhase4, andsetupFlowRefresh); return the incoming$feature_enabledvalue unchanged for all other flags.register()only whenGOOGLESITEKIT_TESTSis not defined, matching the existing production-only force-enable pattern. It's already in place if we use existing callback.5, plugin force-enable at priority10, so the forced value wins over remote defaults but can still be overridden by Site Kit Tester (11) for QA.Follow the same minimal-change strategy used for
setupFlowRefreshin Launch SFR by force-enabling the feature flag in the plugin #12966Test Coverage
QA Brief
Keep the
setupFlowRefreshPhase4feature flag disabled in the tester plugin, with "Do not override" selected for the "Force enabled feature flags" setting.Setup the SK plugin.
Run following command in the browser console from SK dashboard. It should output list of enabled feature flags, which should also contains
setupFlowRefreshPhase4.Changelog entry