diff --git a/assets/js/modules/analytics-4/hooks/useExistingTagEffect.js b/assets/js/modules/analytics-4/hooks/useExistingTagEffect.js index aa684991c55..b8a6682d4a3 100644 --- a/assets/js/modules/analytics-4/hooks/useExistingTagEffect.js +++ b/assets/js/modules/analytics-4/hooks/useExistingTagEffect.js @@ -31,7 +31,7 @@ const { useSelect, useDispatch } = Data; /** * Toggles `useSnippet` depending on whether there is a existing tag matching the selected GA4 property. * - * @since n.e.x.t + * @since 1.75.0 */ export default function useExistingTagEffect() { const { setUseSnippet } = useDispatch( MODULES_ANALYTICS_4 ); diff --git a/assets/js/modules/analytics/datastore/settings.js b/assets/js/modules/analytics/datastore/settings.js index 76f99076d2e..81c23597610 100644 --- a/assets/js/modules/analytics/datastore/settings.js +++ b/assets/js/modules/analytics/datastore/settings.js @@ -235,7 +235,7 @@ export function validateCanSubmitChanges( select ) { /** * Gets the value of canUseSnippet based on the gaPropertyID of tagmanager module and propertyID. * - * @since n.e.x.t + * @since 1.75.0 * * @return {boolean|undefined} Computed value of canUseSnippet. `undefined` if not loaded. */ diff --git a/assets/js/modules/tagmanager/datastore/containers.js b/assets/js/modules/tagmanager/datastore/containers.js index 8033bd9e1f5..fb9d8f0d1d7 100644 --- a/assets/js/modules/tagmanager/datastore/containers.js +++ b/assets/js/modules/tagmanager/datastore/containers.js @@ -409,7 +409,7 @@ const baseSelectors = { /** * Gets primary container ID based on the AMP mode. * - * @since n.e.x.t + * @since 1.75.0 * * @return {(string|undefined)} Primary container ID or `undefined` if not loaded yet. */ diff --git a/google-site-kit.php b/google-site-kit.php index 750a4e6997f..4a618c051bf 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.74.0 + * Version: 1.75.0 * Requires at least: 4.7 * Requires PHP: 5.6 * Author: Google @@ -26,7 +26,7 @@ } // Define most essential constants. -define( 'GOOGLESITEKIT_VERSION', '1.74.0' ); +define( 'GOOGLESITEKIT_VERSION', '1.75.0' ); define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' ); diff --git a/includes/Core/Modules/Module_Sharing_Settings.php b/includes/Core/Modules/Module_Sharing_Settings.php index 925a7409292..90c608458b2 100644 --- a/includes/Core/Modules/Module_Sharing_Settings.php +++ b/includes/Core/Modules/Module_Sharing_Settings.php @@ -130,7 +130,7 @@ public function get() { * Only updates sharing settings for a module if the current user has the capability to * do so. * - * @since n.e.x.t + * @since 1.75.0 * * @param array $new_partial_settings Partial settings array to update existing settings with. * diff --git a/includes/Core/Modules/Modules.php b/includes/Core/Modules/Modules.php index 3c218506bfa..0c6316a915f 100644 --- a/includes/Core/Modules/Modules.php +++ b/includes/Core/Modules/Modules.php @@ -137,7 +137,7 @@ final class Modules { /** * REST_Dashboard_Sharing_Controller instance. * - * @since n.e.x.t + * @since 1.75.0 * @var REST_Dashboard_Sharing_Controller */ private $rest_controller; @@ -1436,7 +1436,7 @@ function( $module ) { * are not set for these modules. This filter is applied after every attempt to fetch * the googlesitekit-dashboard_sharing settings option from the database. * - * @since n.e.x.t + * @since 1.75.0 * * @param array $sharing_settings The dashboard_sharing settings option fetched from the database. * @return array Dashboard sharing settings option with default settings inserted for shared ownership modules. @@ -1457,7 +1457,7 @@ protected function filter_shared_ownership_module_settings( $sharing_settings ) /** * Gets the ownerIDs of all shareable modules. * - * @since n.e.x.t + * @since 1.75.0 * * @return array Array of $module_slug => $owner_id. */ diff --git a/includes/Core/Modules/REST_Dashboard_Sharing_Controller.php b/includes/Core/Modules/REST_Dashboard_Sharing_Controller.php index a2e30f35b35..93ad210c93d 100644 --- a/includes/Core/Modules/REST_Dashboard_Sharing_Controller.php +++ b/includes/Core/Modules/REST_Dashboard_Sharing_Controller.php @@ -19,7 +19,7 @@ /** * Class for handling dashboard sharing rest routes. * - * @since n.e.x.t + * @since 1.75.0 * @access private * @ignore */ @@ -28,7 +28,7 @@ class REST_Dashboard_Sharing_Controller { /** * Modules instance. * - * @since n.e.x.t + * @since 1.75.0 * @var Modules */ protected $modules; @@ -36,7 +36,7 @@ class REST_Dashboard_Sharing_Controller { /** * Constructor. * - * @since n.e.x.t + * @since 1.75.0 * * @param Modules $modules Modules instance. */ @@ -47,7 +47,7 @@ public function __construct( Modules $modules ) { /** * Registers functionality through WordPress hooks. * - * @since n.e.x.t + * @since 1.75.0 */ public function register() { add_filter( @@ -61,7 +61,7 @@ function ( $routes ) { /** * Gets REST route instances. * - * @since n.e.x.t + * @since 1.75.0 * * @return REST_Route[] List of REST_Route objects. */ diff --git a/includes/Modules/Analytics/Settings.php b/includes/Modules/Analytics/Settings.php index ca8094f89c9..ac3c57a3a82 100644 --- a/includes/Modules/Analytics/Settings.php +++ b/includes/Modules/Analytics/Settings.php @@ -140,7 +140,7 @@ function ( $option ) { * is disconnected, ensuring the Analytics snippet is always included. * * @since 1.28.0 - * @since n.e.x.t Added the `$property_id` parameter. + * @since 1.75.0 Added the `$property_id` parameter. * * @param bool $can_use_snippet Whether or not `useSnippet` can control snippet output. Default: `true`. * @param string $property_id The current property ID. diff --git a/includes/Modules/Tag_Manager.php b/includes/Modules/Tag_Manager.php index 432b8042a01..af239732219 100644 --- a/includes/Modules/Tag_Manager.php +++ b/includes/Modules/Tag_Manager.php @@ -546,7 +546,7 @@ private function register_tag() { * Filters whether or not the Analytics module's snippet should be controlled by its `useSnippet` setting. * * @since 1.28.0 - * @since n.e.x.t Now requires current UA property ID as second parameter. + * @since 1.75.0 Now requires current UA property ID as second parameter. * * @param boolean $original_value Original value of useSnippet setting. * @param string $ua_property_id Current UA property. diff --git a/readme.txt b/readme.txt index a458a829473..1b21bddbb46 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: google Requires at least: 4.7 Tested up to: 6.0 Requires PHP: 5.6 -Stable tag: 1.74.0 +Stable tag: 1.75.0 License: Apache License 2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit @@ -106,6 +106,36 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress == Changelog == += 1.75.0 = + +**Enhanced** + +* Add new experimental Interaction to Next Paint field metric to PageSpeed dashboard widget. See [#5207](https://github.com/google/site-kit-wp/issues/5207). +* Update the "Skip to view-only dashboard" button text. See [#5176](https://github.com/google/site-kit-wp/issues/5176). +* Ensure that snippet toggle in Analytics and Tag Manager correctly inform about existing tags. See [#5143](https://github.com/google/site-kit-wp/issues/5143). +* Update Analytics snippet toggle behavior to be disabled when the same property is set in the Tag Manager container. See [#5141](https://github.com/google/site-kit-wp/issues/5141). +* Update Tag Manager container dropdowns to also include the container ID. See [#5108](https://github.com/google/site-kit-wp/issues/5108). +* Update the Tag Manager `useExistingTagEffect` hook to use AMP container ID when in the primary AMP mode. See [#5044](https://github.com/google/site-kit-wp/issues/5044). +* Ensure that the snippet toggle in Analytics settings only changes following the user modifying the selected property. See [#4974](https://github.com/google/site-kit-wp/issues/4974). +* Include snippet toggle in Tag Manager setup flow whenever there is an existing tag. See [#4934](https://github.com/google/site-kit-wp/issues/4934). +* Include snippet toggle in Analytics setup flow whenever there is an existing tag. See [#4913](https://github.com/google/site-kit-wp/issues/4913). +* Update info in plugin header for users viewing a shared dashboard. See [#4826](https://github.com/google/site-kit-wp/issues/4826). +* Limit widgets displayed on the shared dashboard to those which the user has access to. See [#4813](https://github.com/google/site-kit-wp/issues/4813). +* Add UI for new AdSense setup flow. See [#4763](https://github.com/google/site-kit-wp/issues/4763). +* Ensure that Tag Manager containers are no longer force-selected based on existing tags. See [#4713](https://github.com/google/site-kit-wp/issues/4713). +* Remove functionality related to checking for existing Tag Manager tag permission. See [#4709](https://github.com/google/site-kit-wp/issues/4709). +* Ensure that Analytics properties are no longer force-selected based on existing tags. See [#4703](https://github.com/google/site-kit-wp/issues/4703). +* Remove functionality related to checking for existing Analytics tag permission. See [#4702](https://github.com/google/site-kit-wp/issues/4702). +* Remove functionality related to checking for existing AdSense tag permission. See [#4627](https://github.com/google/site-kit-wp/issues/4627). +* Allow dashboard sharing users to use REST routes when using dashboard sharing view mode. See [#4529](https://github.com/google/site-kit-wp/issues/4529). +* Add new REST endpoint for updating dashboard sharing settings. See [#4481](https://github.com/google/site-kit-wp/issues/4481). + +**Fixed** + +* Ensure AdSense account ID and client ID are always set based on API response during setup. See [#5183](https://github.com/google/site-kit-wp/issues/5183). +* Fix AdSense error message when user does not have an AdSense account. See [#5180](https://github.com/google/site-kit-wp/issues/5180). +* Fix AdSense logo and progress bar placement in new setup flow. See [#5159](https://github.com/google/site-kit-wp/issues/5159). + = 1.74.0 = **Enhanced** diff --git a/stories/utils/generate-gtm-analytics-property-story.js b/stories/utils/generate-gtm-analytics-property-story.js index de8a1edab4c..8a4a750c9e8 100644 --- a/stories/utils/generate-gtm-analytics-property-story.js +++ b/stories/utils/generate-gtm-analytics-property-story.js @@ -42,7 +42,7 @@ import { MODULES_ANALYTICS_4 } from '../../assets/js/modules/analytics-4/datasto * Generates a story for a case when a GTM with Analytics property ID is already connected. * * @since 1.18.0 - * @since n.e.x.t Removed args.gaPermission and args.gtmPermission. + * @since 1.75.0 Removed args.gaPermission and args.gtmPermission. * @private * * @param {Object} args Story arguments.