Skip to content

Commit

Permalink
Bump version to 1.105.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jul 12, 2023
1 parent a321685 commit 7396d8f
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 21 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/KeyMetrics/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { CONTEXT_MAIN_DASHBOARD_KEY_METRICS } from '../../googlesitekit/widgets/
* This is a temporary utility until a solidified solution is implemented to effortlessly provide
* widget registrations to the registry.
*
* @since n.e.x.t
* @since 1.105.0
* @see {@link https://github.com/google/site-kit-wp/issues/7264} Initiative to implement a utility to provide widget registrations.
*
* @param {Object} registry The registry to set up.
Expand Down
4 changes: 2 additions & 2 deletions assets/js/modules/adsense/datastore/ad-blocking-recovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const selectors = {
/**
* Gets the existing ad blocking recovery tag.
*
* @since n.e.x.t
* @since 1.105.0
*
* @param {Object} state Data store's state.
* @return {(string|null|undefined)} The existing ad blocking recovery tag `string` if present, `null` if not present, or `undefined` if not loaded yet.
Expand All @@ -171,7 +171,7 @@ const selectors = {
/**
* Checks whether or not an existing ad blocking recovery tag is present.
*
* @since n.e.x.t
* @since 1.105.0
*
* @return {(boolean|undefined)} Boolean if ad blocking recovery tag is present, `undefined` if ad blocking recovery tag presence has not been resolved yet.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/adsense/util/parsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function parseAccountID( clientID ) {
/**
* Parses the AdSense account ID from an existing tag.
*
* @since n.e.x.t
* @since 1.105.0
*
* @param {string} existingTag Existing tag.
* @return {(string|undefined)} AdSense account ID, or undefined if invalid tag.
Expand Down
4 changes: 2 additions & 2 deletions google-site-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.104.0
* Version: 1.105.0
* Requires at least: 5.2
* Requires PHP: 5.6
* Author: Google
Expand All @@ -26,7 +26,7 @@
}

// Define most essential constants.
define( 'GOOGLESITEKIT_VERSION', '1.104.0' );
define( 'GOOGLESITEKIT_VERSION', '1.105.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' );
define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' );
Expand Down
6 changes: 3 additions & 3 deletions includes/Core/Modules/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function( Module $module ) use ( $option ) {
/**
* Gets the connected modules.
*
* @since n.e.x.t
* @since 1.105.0
*
* @return array Connected modules as $slug => $module pairs.
*/
Expand Down Expand Up @@ -684,7 +684,7 @@ public function is_module_connected( $slug ) {
/**
* Checks whether the module identified by the given slug is shareable.
*
* @since n.e.x.t
* @since 1.105.0
*
* @param string $slug Unique module slug.
* @return bool True if module is shareable, false otherwise.
Expand Down Expand Up @@ -904,7 +904,7 @@ private function set_active_modules_option( array $option ) {
* Gets the shareable connected modules.
*
* @since 1.50.0
* @since n.e.x.t Updated to only return connected shareable modules.
* @since 1.105.0 Updated to only return connected shareable modules.
*
* @return array Shareable modules as $slug => $module pairs.
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Core/Tags/Guards/WP_Query_404_Guard.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
/**
* Class for WP_Query 404 guard.
*
* @since n.e.x.t
* @since 1.105.0
* @access private
* @ignore
*/
class WP_Query_404_Guard implements Guard_Interface {
/**
* Determines whether the guarded tag can be activated or not.
*
* @since n.e.x.t
* @since 1.105.0
*
* @return bool TRUE if guarded tag can be activated, otherwise FALSE or an error.
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/AdSense/Ad_Blocking_Recovery_Tag_Guard.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class for the AdSense Ad Blocking Recovery tag guard.
*
* @since n.e.x.t
* @since 1.105.0
* @access private
* @ignore
*/
Expand All @@ -24,7 +24,7 @@ class Ad_Blocking_Recovery_Tag_Guard extends Module_Tag_Guard {
/**
* Determines whether the guarded tag can be activated or not.
*
* @since n.e.x.t
* @since 1.105.0
*
* @return bool TRUE if guarded tag can be activated, otherwise FALSE or an error.
*/
Expand Down
12 changes: 6 additions & 6 deletions includes/Modules/AdSense/Ad_Blocking_Recovery_Web_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Class for Ad Blocking Recovery tag.
*
* @since n.e.x.t
* @since 1.105.0
* @access private
* @ignore
*/
Expand All @@ -29,23 +29,23 @@ class Ad_Blocking_Recovery_Web_Tag extends Tag {
/**
* Ad_Blocking_Recovery_Tag instance.
*
* @since n.e.x.t
* @since 1.105.0
* @var Ad_Blocking_Recovery_Tag
*/
protected $ad_blocking_recovery_tag;

/**
* Use Error Protection Snippet.
*
* @since n.e.x.t
* @since 1.105.0
* @var bool
*/
protected $use_error_protection_snippet;

/**
* Constructor.
*
* @since n.e.x.t
* @since 1.105.0
*
* @param Ad_Blocking_Recovery_Tag $ad_blocking_recovery_tag Ad_Blocking_Recovery_Tag instance.
* @param bool $use_error_protection_snippet Use Error Protection Snippet.
Expand All @@ -58,7 +58,7 @@ public function __construct( Ad_Blocking_Recovery_Tag $ad_blocking_recovery_tag,
/**
* Registers tag hooks.
*
* @since n.e.x.t
* @since 1.105.0
*/
public function register() {
add_action( 'wp_head', $this->get_method_proxy_once( 'render' ) );
Expand All @@ -74,7 +74,7 @@ public function register() {
/**
* Outputs the AdSense script tag.
*
* @since n.e.x.t
* @since 1.105.0
*/
protected function render() {
$tags = $this->ad_blocking_recovery_tag->get();
Expand Down
2 changes: 1 addition & 1 deletion includes/Modules/AdSense/Tag_Guard.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Tag_Guard extends Module_Tag_Guard {
*
* @since 1.24.0
* @since 1.30.0 Update to return FALSE on 404 pages deliberately.
* @since n.e.x.t Extract the check for 404 pages to dedicated Guard.
* @since 1.105.0 Extract the check for 404 pages to dedicated Guard.
*
* @return bool|WP_Error TRUE if guarded tag can be activated, otherwise FALSE or an error.
*/
Expand Down
22 changes: 21 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: google
Requires at least: 5.2
Tested up to: 6.2
Requires PHP: 5.6
Stable tag: 1.104.0
Stable tag: 1.105.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
Expand Down Expand Up @@ -110,6 +110,26 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.105.0 =

**Enhanced**

* Improve formatting of larger numbers in Key Metric Widget tiles. See [#7190](https://github.com/google/site-kit-wp/issues/7190).
* Place Ad Blocking Recovery tags on the front end. See [#7186](https://github.com/google/site-kit-wp/issues/7186).
* Fix bug that could cause zero percent in key metric widgets not to appear. See [#7172](https://github.com/google/site-kit-wp/issues/7172).
* Improve creation of the GM3 checkbox component. See [#7120](https://github.com/google/site-kit-wp/issues/7120).
* Show notice to users who have an existing Ad Blocking Recovery tag placed on their site. See [#6967](https://github.com/google/site-kit-wp/issues/6967).
* Fix inconsistent focus styles in feature tours. See [#6926](https://github.com/google/site-kit-wp/issues/6926).
* Add CTA to connect Analytics if disconnected after setting up Key Metrics. See [#6265](https://github.com/google/site-kit-wp/issues/6265).
* Implement the "Top traffic source" key metric widget. See [#6245](https://github.com/google/site-kit-wp/issues/6245).
* Implement the design for the Key Metrics Setup CTA widget. See [#6210](https://github.com/google/site-kit-wp/issues/6210).

**Fixed**

* Fix bug that caused PageSpeed Insights to appear in Dashboard Sharing Settings when PageSpeed Insights is not connected. See [#7197](https://github.com/google/site-kit-wp/issues/7197).
* Fix bug that could cause infinite loop in Analytics setup flow if user had view-only permissions for an Analytics property. See [#7168](https://github.com/google/site-kit-wp/issues/7168).
* Fix bug that caused Ad Blocking Recovery widget to appear/hide under the wrong conditions. See [#7164](https://github.com/google/site-kit-wp/issues/7164).

= 1.104.0 =

**Added**
Expand Down

0 comments on commit 7396d8f

Please sign in to comment.