From 2b5da08f77f06228e8ca30225469a78078c43710 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Tue, 10 Sep 2024 22:44:46 -0400 Subject: [PATCH 1/3] Add dry run as step. --- .github/workflows/zips.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/zips.yml b/.github/workflows/zips.yml index e1779bf122f..fa85f716de3 100644 --- a/.github/workflows/zips.yml +++ b/.github/workflows/zips.yml @@ -65,11 +65,6 @@ on: description: Release version required: false default: '' - dry_run: - type: boolean - description: Run the publishing process without committing. - required: false - default: false concurrency: group: zips-${{ github.event_name }}-${{ github.ref }} @@ -223,6 +218,29 @@ jobs: edit-mode: replace body: Build files for ${{ github.event.pull_request.head.sha }} have been deleted. + dryrun-publish-to-wporg: + name: '[DRY RUN] Publish to WordPress.org' + runs-on: ubuntu-latest + environment: github-pages # no SVN credentials! + if: github.event_name == 'workflow_dispatch' && ( github.ref_type == 'tag' || inputs.release_version != '' ) + steps: + - uses: actions/download-artifact@v4 + with: + name: zip-files + path: /tmp + - name: Extract + run: | + unzip /tmp/google-site-kit.zip + - uses: 10up/action-wordpress-plugin-deploy@2.2.2 + with: + dry-run: true + env: + BUILD_DIR: ./google-site-kit + SLUG: google-site-kit + SVN_PASSWORD: no-op-password + SVN_USERNAME: no-op-username + VERSION: ${{ inputs.release_version }} + publish-to-wporg: name: Publish to WordPress.org runs-on: ubuntu-latest @@ -240,7 +258,7 @@ jobs: unzip /tmp/google-site-kit.zip - uses: 10up/action-wordpress-plugin-deploy@2.2.2 with: - dry-run: ${{ inputs.dry_run }} + dry-run: false env: BUILD_DIR: ./google-site-kit SLUG: google-site-kit From 93d3cc0a83d36f9f31347814a4084ae77f01ed9a Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 11 Sep 2024 14:18:55 -0400 Subject: [PATCH 2/3] Update dry-run job definition. --- .github/workflows/zips.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/zips.yml b/.github/workflows/zips.yml index fa85f716de3..3868bf71b03 100644 --- a/.github/workflows/zips.yml +++ b/.github/workflows/zips.yml @@ -221,8 +221,10 @@ jobs: dryrun-publish-to-wporg: name: '[DRY RUN] Publish to WordPress.org' runs-on: ubuntu-latest - environment: github-pages # no SVN credentials! + # environment: do not define to omit SVN credentials + deployment protection rules for this dry-run. if: github.event_name == 'workflow_dispatch' && ( github.ref_type == 'tag' || inputs.release_version != '' ) + needs: build-zips + timeout-minutes: 20 steps: - uses: actions/download-artifact@v4 with: @@ -257,8 +259,6 @@ jobs: run: | unzip /tmp/google-site-kit.zip - uses: 10up/action-wordpress-plugin-deploy@2.2.2 - with: - dry-run: false env: BUILD_DIR: ./google-site-kit SLUG: google-site-kit From 3563aa206750e6d536ed4bc69f7e07311052fe4c Mon Sep 17 00:00:00 2001 From: "Matthew Riley MacPherson (tofumatt)" Date: Wed, 2 Oct 2024 22:19:17 +0100 Subject: [PATCH 3/3] Bump version to `1.137.0`. --- .../shouldDisplayWidgetWithConversionEvent.js | 2 +- assets/js/util/scroll.js | 2 +- changelog.txt | 39 ++++++++++++ google-site-kit.php | 4 +- includes/Modules/Analytics_4.php | 2 +- .../Modules/Analytics_4/Reset_Audiences.php | 14 ++--- includes/Modules/Sign_In_With_Google.php | 12 ++-- .../Modules/Sign_In_With_Google/Settings.php | 8 +-- readme.txt | 59 +++++++++---------- 9 files changed, 88 insertions(+), 54 deletions(-) diff --git a/assets/js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js b/assets/js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js index 87c0ebb596b..69ed158873d 100644 --- a/assets/js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js +++ b/assets/js/components/KeyMetrics/shouldDisplayWidgetWithConversionEvent.js @@ -10,7 +10,7 @@ import { MODULES_ANALYTICS_4 } from '../../modules/analytics-4/datastore/constan * has the `requiredConversionEventName` property. * * @since 1.136.0 - * @since n.e.x.t Moved function to its own file. + * @since 1.137.0 Moved function to its own file. * * @param {Function} select Data store select function. * @param {boolean} isViewOnlyDashboard Whether the current dashboard is view only. diff --git a/assets/js/util/scroll.js b/assets/js/util/scroll.js index 74b7af4b443..614f2bc17ed 100644 --- a/assets/js/util/scroll.js +++ b/assets/js/util/scroll.js @@ -25,7 +25,7 @@ import { finiteNumberOrZero } from './finite-number-or-zero'; /** * Gets the y coordinate to scroll to the top of a context element, taking the sticky admin bar, header and navigation height into account. * - * @since n.e.x.t Renamed from getContextScrollTop to getNavigationalScrollTop. + * @since 1.137.0 Renamed from getContextScrollTop to getNavigationalScrollTop. * * @param {string} selector Selector for the element to scroll to. The id (prepend #) or class (prepend .). * @param {string} breakpoint The current breakpoint. diff --git a/changelog.txt b/changelog.txt index c3748b8bae6..c468b4a3e1a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,44 @@ == Changelog == += 1.137.0 = + +**Added** + +* Add the `signInWithGoogleModule` feature flag for Sign in With Google. See [#9382](https://github.com/google/site-kit-wp/issues/9382). +* Only show Analytics Conversion Reporting items in the dashboard when the feature flag is enabled. See [#9364](https://github.com/google/site-kit-wp/issues/9364). +* Add Sign in with Google module. See [#9332](https://github.com/google/site-kit-wp/issues/9332). +* Add Key Metric Widget for "Top traffic source driving leads". See [#9217](https://github.com/google/site-kit-wp/issues/9217). +* Add the `Top traffic source driving purchases` widget. See [#9164](https://github.com/google/site-kit-wp/issues/9164). +* Added the `Top cities driving purchases` widget. See [#9160](https://github.com/google/site-kit-wp/issues/9160). +* Add the `Top traffic source driving add to cart` widget. See [#9158](https://github.com/google/site-kit-wp/issues/9158). +* Add the `Top cities driving add to cart` widget. See [#9156](https://github.com/google/site-kit-wp/issues/9156). +* Add a Key Metric widget for "Top pages driving leads" when Analytics Conversion Reporting is enabled. See [#9153](https://github.com/google/site-kit-wp/issues/9153). + +**Enhanced** + +* Update the Analytics + AdSense linking notification to use the new notifications datastore. See [#9280](https://github.com/google/site-kit-wp/issues/9280). +* Ensure the "Top content" CTA for creating the `googlesitekit_post_type` custom dimension appears in the main dashboard when the corresponding report error indicates the missing custom dimension. See [#9218](https://github.com/google/site-kit-wp/issues/9218). +* Ensure cached audiences are resynced when the No Audiences Banner is shown. See [#9214](https://github.com/google/site-kit-wp/issues/9214). +* Add support for the "Temporary hidden" badge in the audience selection panel. See [#9096](https://github.com/google/site-kit-wp/issues/9096). +* Update the Audience Selection Panel Error Notice buttons to use the new callout button styling. See [#9068](https://github.com/google/site-kit-wp/issues/9068). +* Address formatting inconsistencies in subtle notifications by removing periods from `GA4AdSenseLinkedNotification` and `AudienceSegmentationSetupSuccessSubtleNotification`. See [#8747](https://github.com/google/site-kit-wp/issues/8747). +* Remove legacy Analytics client services from the bundle, as they are no longer necessary following the removal of the UA module. See [#8459](https://github.com/google/site-kit-wp/issues/8459). +* Add handling for audience sync errors in the audiences widget area. See [#8190](https://github.com/google/site-kit-wp/issues/8190). +* Ensure the Audience Segmentation feature is effectively reset when changing the connected Analytics property. See [#8180](https://github.com/google/site-kit-wp/issues/8180). +* Implement the unhappy path for the Settings Section Audience Segmentation setup flow, handling OAuth and API errors by displaying an Error Modal with options to retry, request access, or get help. See [#8179](https://github.com/google/site-kit-wp/issues/8179). +* Ensure the Audience Segmentation Introductory Popup / Banner is only shown to to view-only users and secondary admins once the feature has been setup by the initial admin. See [#8172](https://github.com/google/site-kit-wp/issues/8172). +* Add error handling in the Audience Segmentation selection panel audience creation notice. See [#8166](https://github.com/google/site-kit-wp/issues/8166). + +**Changed** + +* Remove the use of the non-existent `features` prop in stories using the `WithRegistrySetup` component. See [#9115](https://github.com/google/site-kit-wp/issues/9115). +* Rename the `Migration_Conversion_ID` class to `Migration_1_129_0` for consistency with migration naming conventions. See [#8905](https://github.com/google/site-kit-wp/issues/8905). + +**Fixed** + +* Fix UX issues with the "Temporarily hidden" badge in the Audience Selection panel by ensuring the info icon only shows the tooltip without toggling the checkbox and improving tooltip behavior on mobile. See [#9421](https://github.com/google/site-kit-wp/issues/9421). +* Fix conditions for showing the "Enable groups" and "Display visitor groups in dashboard" toggle on the Settings screen. See [#9366](https://github.com/google/site-kit-wp/issues/9366). + = 1.136.0 = **Added** diff --git a/google-site-kit.php b/google-site-kit.php index f56ce3b69a3..5862d288511 100644 --- a/google-site-kit.php +++ b/google-site-kit.php @@ -11,7 +11,7 @@ * Plugin Name: Site Kit by Google * Plugin URI: https://sitekit.withgoogle.com * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. - * Version: 1.136.0 + * Version: 1.137.0 * Requires at least: 5.2 * Requires PHP: 7.4 * Author: Google @@ -26,7 +26,7 @@ } // Define most essential constants. -define( 'GOOGLESITEKIT_VERSION', '1.136.0' ); +define( 'GOOGLESITEKIT_VERSION', '1.137.0' ); define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' ); diff --git a/includes/Modules/Analytics_4.php b/includes/Modules/Analytics_4.php index 78c36161d53..c43607bc841 100644 --- a/includes/Modules/Analytics_4.php +++ b/includes/Modules/Analytics_4.php @@ -156,7 +156,7 @@ final class Analytics_4 extends Module implements Module_With_Scopes, Module_Wit /** * Reset_Audiences instance. * - * @since n.e.x.t + * @since 1.137.0 * @var Reset_Audiences */ protected $reset_audiences; diff --git a/includes/Modules/Analytics_4/Reset_Audiences.php b/includes/Modules/Analytics_4/Reset_Audiences.php index 93391568576..deafcdf182b 100644 --- a/includes/Modules/Analytics_4/Reset_Audiences.php +++ b/includes/Modules/Analytics_4/Reset_Audiences.php @@ -19,7 +19,7 @@ /** * Class to reset Audience Segmentation Settings across multiple users. * - * @since n.e.x.t + * @since 1.137.0 * @access private * @ignore */ @@ -28,7 +28,7 @@ class Reset_Audiences { /** * User_Options instance. * - * @since n.e.x.t + * @since 1.137.0 * @var User_Options */ protected $user_options; @@ -36,7 +36,7 @@ class Reset_Audiences { /** * Dismissed_Prompts instance. * - * @since n.e.x.t + * @since 1.137.0 * @var Dismissed_Prompts */ protected $dismissed_prompts; @@ -44,7 +44,7 @@ class Reset_Audiences { /** * Dismissed_Items instance. * - * @since n.e.x.t + * @since 1.137.0 * @var Dismissed_Items */ protected $dismissed_items; @@ -52,7 +52,7 @@ class Reset_Audiences { /** * Audience Settings instance. * - * @since n.e.x.t + * @since 1.137.0 * @var Audience_Settings */ protected $audience_settings; @@ -70,7 +70,7 @@ class Reset_Audiences { /** * Constructor. * - * @since n.e.x.t + * @since 1.137.0 * * @param User_Options $user_options User option API. */ @@ -84,7 +84,7 @@ public function __construct( User_Options $user_options = null ) { /** * Reset audience specific settings for all SK users. * - * @since n.e.x.t + * @since 1.137.0 */ public function reset_audience_data() { global $wpdb; diff --git a/includes/Modules/Sign_In_With_Google.php b/includes/Modules/Sign_In_With_Google.php index 906ff062bcf..a8a631211b7 100644 --- a/includes/Modules/Sign_In_With_Google.php +++ b/includes/Modules/Sign_In_With_Google.php @@ -22,7 +22,7 @@ /** * Class representing the Sign in With Google module. * - * @since n.e.x.t + * @since 1.137.0 * @access private * @ignore */ @@ -39,7 +39,7 @@ final class Sign_In_With_Google extends Module implements Module_With_Assets, Mo /** * Registers functionality through WordPress hooks. * - * @since n.e.x.t + * @since 1.137.0 */ public function register() { } @@ -47,7 +47,7 @@ public function register() { /** * Cleans up when the module is deactivated. * - * @since n.e.x.t + * @since 1.137.0 */ public function on_deactivation() { $this->get_settings()->delete(); @@ -56,7 +56,7 @@ public function on_deactivation() { /** * Sets up information about the module. * - * @since n.e.x.t + * @since 1.137.0 * * @return array Associative array of module info. */ @@ -73,7 +73,7 @@ protected function setup_info() { /** * Sets up the module's assets to register. * - * @since n.e.x.t + * @since 1.137.0 * * @return Asset[] List of Asset objects. */ @@ -100,7 +100,7 @@ protected function setup_assets() { /** * Sets up the module's settings instance. * - * @since n.e.x.t + * @since 1.137.0 * * @return Settings */ diff --git a/includes/Modules/Sign_In_With_Google/Settings.php b/includes/Modules/Sign_In_With_Google/Settings.php index 654f85c9c15..09ca0c19537 100644 --- a/includes/Modules/Sign_In_With_Google/Settings.php +++ b/includes/Modules/Sign_In_With_Google/Settings.php @@ -17,7 +17,7 @@ /** * Class for Sign_In_With_Google settings. * - * @since n.e.x.t + * @since 1.137.0 * @access private * @ignore */ @@ -29,7 +29,7 @@ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interf /** * Registers the setting in WordPress. * - * @since n.e.x.t + * @since 1.137.0 */ public function register() { parent::register(); @@ -39,7 +39,7 @@ public function register() { /** * Gets the default value. * - * @since n.e.x.t + * @since 1.137.0 * * @return array An array of default settings values. */ @@ -50,7 +50,7 @@ protected function get_default() { /** * Returns keys for owned settings. * - * @since n.e.x.t + * @since 1.137.0 * * @return array An array of keys for owned settings. */ diff --git a/readme.txt b/readme.txt index 26acfeb35e3..079ab657f7e 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: google Requires at least: 5.2 Tested up to: 6.6 Requires PHP: 7.4 -Stable tag: 1.136.0 +Stable tag: 1.137.0 License: Apache License 2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 Tags: google, search-console, analytics, adsense, pagespeed-insights @@ -109,48 +109,43 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress == Changelog == -= 1.136.0 = += 1.137.0 = **Added** -* Add the new `Top cities driving leads` widget. See [#9154](https://github.com/google/site-kit-wp/issues/9154). -* Add new WordPress Data controls to `googlesitekit-data`. See [#8992](https://github.com/google/site-kit-wp/issues/8992). +* Add the `signInWithGoogleModule` feature flag for Sign in With Google. See [#9382](https://github.com/google/site-kit-wp/issues/9382). +* Only show Analytics Conversion Reporting items in the dashboard when the feature flag is enabled. See [#9364](https://github.com/google/site-kit-wp/issues/9364). +* Add Sign in with Google module. See [#9332](https://github.com/google/site-kit-wp/issues/9332). +* Add Key Metric Widget for "Top traffic source driving leads". See [#9217](https://github.com/google/site-kit-wp/issues/9217). +* Add the `Top traffic source driving purchases` widget. See [#9164](https://github.com/google/site-kit-wp/issues/9164). +* Added the `Top cities driving purchases` widget. See [#9160](https://github.com/google/site-kit-wp/issues/9160). +* Add the `Top traffic source driving add to cart` widget. See [#9158](https://github.com/google/site-kit-wp/issues/9158). +* Add the `Top cities driving add to cart` widget. See [#9156](https://github.com/google/site-kit-wp/issues/9156). +* Add a Key Metric widget for "Top pages driving leads" when Analytics Conversion Reporting is enabled. See [#9153](https://github.com/google/site-kit-wp/issues/9153). **Enhanced** -* Update publication links in the Reader Revenue Manager module to navigate to the RRM product page for the publication. See [#9313](https://github.com/google/site-kit-wp/issues/9313). -* Improve instructions for creating a new publication in the Reader Revenue Manager module setup screen. See [#9308](https://github.com/google/site-kit-wp/issues/9308). -* Refactor Ads notifications to use new notifications infrastructure. See [#9279](https://github.com/google/site-kit-wp/issues/9279). -* Show the "Display visitor groups in dashboard" toggle in the Site Kit Admin settings even when Google Analytics is disconnected. See [#9264](https://github.com/google/site-kit-wp/issues/9264). -* When a user clicks the CTA to visit the Publisher Center from one of the onboarding state notifications, resync the onboarding state upon returning to the Site Kit browser tab and update/hide the notification if the state has changed. See [#9262](https://github.com/google/site-kit-wp/issues/9262). -* Show the Reader Revenue Manager module's setup banner again two weeks after being dismissed, and show a tooltip to let the user know it can be set up later in Settings. See [#9257](https://github.com/google/site-kit-wp/issues/9257). -* Update text colour in Reader Revenue Manager publication creation screen. See [#9256](https://github.com/google/site-kit-wp/issues/9256). -* Reduce frequency of AdsLinks checks. See [#9141](https://github.com/google/site-kit-wp/issues/9141). -* Improve offline connection check logic/behaviour. See [#9083](https://github.com/google/site-kit-wp/issues/9083). -* Scroll to the Audiences Widget Area when clicking the "Show me" CTA on the Setup Success Notice that is shown when the Audience Segmentation feature has been set up. See [#8874](https://github.com/google/site-kit-wp/issues/8874). -* Implement the Audience Segmentation "no audiences" banner variants for secondary authenticated and shared dashboard users. See [#8577](https://github.com/google/site-kit-wp/issues/8577). -* Remove "New" badges from Analytics widgets in the entity dashboard. See [#8203](https://github.com/google/site-kit-wp/issues/8203). -* Add "New" badges to newly created audiences in the Selection Panel, which will be visible for 28 days after the first viewing. See [#8170](https://github.com/google/site-kit-wp/issues/8170). -* Redirect to OAuth as needed to grant the scope for creating the required custom dimension from the "Top content" metric section. See [#8154](https://github.com/google/site-kit-wp/issues/8154). -* Handle the “new visitors” and “returning visitors” audiences as a special case to avoid the "partial data" state for them on the Audience Tiles. See [#8144](https://github.com/google/site-kit-wp/issues/8144). -* Automatically configure the audience selection for additional admins and view-only users once an admin has set up the feature. See [#8130](https://github.com/google/site-kit-wp/issues/8130). -* Remove scheduled events upon deactivation, reset or uninstall. See [#6992](https://github.com/google/site-kit-wp/issues/6992). -* Improve error notice when no "Retry" button is present. See [#6707](https://github.com/google/site-kit-wp/issues/6707). -* Fix a bug that could cause the "Top content" metric not to appear on the view-only dashboard. See [#8175](https://github.com/google/site-kit-wp/issues/8175). +* Update the Analytics + AdSense linking notification to use the new notifications datastore. See [#9280](https://github.com/google/site-kit-wp/issues/9280). +* Ensure the "Top content" CTA for creating the `googlesitekit_post_type` custom dimension appears in the main dashboard when the corresponding report error indicates the missing custom dimension. See [#9218](https://github.com/google/site-kit-wp/issues/9218). +* Ensure cached audiences are resynced when the No Audiences Banner is shown. See [#9214](https://github.com/google/site-kit-wp/issues/9214). +* Add support for the "Temporary hidden" badge in the audience selection panel. See [#9096](https://github.com/google/site-kit-wp/issues/9096). +* Update the Audience Selection Panel Error Notice buttons to use the new callout button styling. See [#9068](https://github.com/google/site-kit-wp/issues/9068). +* Address formatting inconsistencies in subtle notifications by removing periods from `GA4AdSenseLinkedNotification` and `AudienceSegmentationSetupSuccessSubtleNotification`. See [#8747](https://github.com/google/site-kit-wp/issues/8747). +* Remove legacy Analytics client services from the bundle, as they are no longer necessary following the removal of the UA module. See [#8459](https://github.com/google/site-kit-wp/issues/8459). +* Add handling for audience sync errors in the audiences widget area. See [#8190](https://github.com/google/site-kit-wp/issues/8190). +* Ensure the Audience Segmentation feature is effectively reset when changing the connected Analytics property. See [#8180](https://github.com/google/site-kit-wp/issues/8180). +* Implement the unhappy path for the Settings Section Audience Segmentation setup flow, handling OAuth and API errors by displaying an Error Modal with options to retry, request access, or get help. See [#8179](https://github.com/google/site-kit-wp/issues/8179). +* Ensure the Audience Segmentation Introductory Popup / Banner is only shown to to view-only users and secondary admins once the feature has been setup by the initial admin. See [#8172](https://github.com/google/site-kit-wp/issues/8172). +* Add error handling in the Audience Segmentation selection panel audience creation notice. See [#8166](https://github.com/google/site-kit-wp/issues/8166). **Changed** -* Remove `conversionInfra` feature flag. See [#9173](https://github.com/google/site-kit-wp/issues/9173). +* Remove the use of the non-existent `features` prop in stories using the `WithRegistrySetup` component. See [#9115](https://github.com/google/site-kit-wp/issues/9115). +* Rename the `Migration_Conversion_ID` class to `Migration_1_129_0` for consistency with migration naming conventions. See [#8905](https://github.com/google/site-kit-wp/issues/8905). **Fixed** -* Update RRM notification event names in Analytics. See [#9368](https://github.com/google/site-kit-wp/issues/9368). -* Improve Reader Revenue Manager setup CTA banner so that its graphic does not overflow the container. See [#9271](https://github.com/google/site-kit-wp/issues/9271). -* Fix glitches relating to the Audience Segmentation Setup CTA Banner. See [#9231](https://github.com/google/site-kit-wp/issues/9231). -* Ensure Zero Data notification always appears in new banner notifications. See [#9227](https://github.com/google/site-kit-wp/issues/9227). -* Fix unexpected error in Site Kit WordPress dashboard widget for sites in zero data states. See [#9226](https://github.com/google/site-kit-wp/issues/9226). -* Add ability to remove a notification on next page load. See [#9225](https://github.com/google/site-kit-wp/issues/9225). -* Fix glitches and errors when changing the audience selection in mobile viewports, ensuring audiences are listed in the correct order, and audience tabs function properly without errors. See [#9168](https://github.com/google/site-kit-wp/issues/9168). -* Improve module disconnection confirmation dialog UI. See [#9061](https://github.com/google/site-kit-wp/issues/9061). +* Fix UX issues with the "Temporarily hidden" badge in the Audience Selection panel by ensuring the info icon only shows the tooltip without toggling the checkbox and improving tooltip behavior on mobile. See [#9421](https://github.com/google/site-kit-wp/issues/9421). +* Fix conditions for showing the "Enable groups" and "Display visitor groups in dashboard" toggle on the Settings screen. See [#9366](https://github.com/google/site-kit-wp/issues/9366). [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).