Skip to content

Commit a288fac

Browse files
committed
Bump version to 1.165.0.
1 parent 091d64b commit a288fac

File tree

20 files changed

+126
-81
lines changed

20 files changed

+126
-81
lines changed

assets/blocks/reader-revenue-manager/contribute-with-google/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "google-site-kit/rrm-contribute-with-google",
5-
"version": "1.164.0",
5+
"version": "1.165.0",
66
"title": "Contribute with Google",
77
"category": "widgets",
88
"icon": "google",

assets/blocks/reader-revenue-manager/subscribe-with-google/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "google-site-kit/rrm-subscribe-with-google",
5-
"version": "1.164.0",
5+
"version": "1.165.0",
66
"title": "Subscribe with Google",
77
"category": "widgets",
88
"icon": "google",

assets/blocks/sign-in-with-google/Edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const DEFAULT_OPTION = {
4545
* Sign in with Google Block Edit component.
4646
*
4747
* @since 1.147.0
48-
* @since n.e.x.t Added attributes, setAttributes, and className to props.
48+
* @since 1.165.0 Added attributes, setAttributes, and className to props.
4949
*
5050
* @param {Object} props Component props.
5151
* @param {Object} props.attributes Block attributes.

assets/blocks/sign-in-with-google/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "google-site-kit/sign-in-with-google",
5-
"version": "1.164.0",
5+
"version": "1.165.0",
66
"title": "Sign in with Google",
77
"category": "widgets",
88
"icon": "google",

assets/js/googlesitekit/datastore/site/email-reporting.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const baseActions = {
8484
/**
8585
* Saves the email reporting settings.
8686
*
87-
* @since n.e.x.t
87+
* @since 1.165.0
8888
*
8989
* @return {Object} Object with `response` and `error`.
9090
*/
@@ -103,7 +103,7 @@ const baseActions = {
103103
/**
104104
* Sets email reporting enabled state.
105105
*
106-
* @since n.e.x.t
106+
* @since 1.165.0
107107
*
108108
* @param {*} enabled Whether email reporting is enabled.
109109
* @return {Object} Redux-style action.
@@ -156,7 +156,7 @@ const baseSelectors = {
156156
/**
157157
* Gets the email reporting settings.
158158
*
159-
* @since n.e.x.t
159+
* @since 1.165.0
160160
*
161161
* @param {Object} state Data store's state.
162162
* @return {(Object|undefined)} Email Reporting settings; `undefined` if not loaded.
@@ -168,7 +168,7 @@ const baseSelectors = {
168168
/**
169169
* Determines whether email reporting is enabled.
170170
*
171-
* @since n.e.x.t
171+
* @since 1.165.0
172172
*
173173
* @param {Object} state Data store's state.
174174
* @return {boolean} TRUE if email reporting is enabled, otherwise FALSE.

assets/js/modules/analytics-4/datastore/accounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const baseActions = {
150150
* Creates a new Analytics (GA4) account.
151151
*
152152
* @since 1.98.0
153-
* @since n.e.x.t Add `showProgress` option.
153+
* @since 1.165.0 Add `showProgress` option.
154154
*
155155
* @param {Object} [options={}] Optional options object.
156156
* @param {boolean} [options.showProgress=false] Whether to show the progress indicator.

changelog.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
== Changelog ==
22

3+
= 1.165.0 =
4+
5+
**Added**
6+
7+
* Add support for using Sign in with Google for WordPress user comments. See [#11478](https://github.com/google/site-kit-wp/issues/11478).
8+
* Add new “Enable Sign in with Google for user comments” Sign in with Google setting to Site Health. See [#11477](https://github.com/google/site-kit-wp/issues/11477).
9+
* Add the "Show next to comments" toggle to the Sign in with Google setup form. See [#11476](https://github.com/google/site-kit-wp/issues/11476).
10+
* Add developer documentation to the Sign in with Google action. See [#11446](https://github.com/google/site-kit-wp/issues/11446).
11+
12+
**Enhanced**
13+
14+
* Implement GA4 tracking events for Enhanced Conversions notifications. See [#11644](https://github.com/google/site-kit-wp/issues/11644).
15+
* Decouple Enhanced Conversions from the Ads module; send user data when any gtag-using service is connected (Ads, Analytics, or Tag Manager). See [#11600](https://github.com/google/site-kit-wp/issues/11600).
16+
* Add feature metrics tracking for SiwG and Enhanced Conversions. See [#11572](https://github.com/google/site-kit-wp/issues/11572).
17+
* Synchronise audiences and custom dimensions on the Key Metrics setup screen. See [#11386](https://github.com/google/site-kit-wp/issues/11386).
18+
* Automatically set up Audience Segmentation when landing on the dashboard in the new Analytics setup flow. See [#11385](https://github.com/google/site-kit-wp/issues/11385).
19+
* Add redirection to Key Metrics setup after successful Analytics account creation as part of the new setup flow. See [#11381](https://github.com/google/site-kit-wp/issues/11381).
20+
* Display the progress indicator on the Key Metrics setup screen when it's navigated to in the new setup flow. See [#11380](https://github.com/google/site-kit-wp/issues/11380).
21+
* Add "Exit setup" button to the splash screen header when `setupFlowRefresh` feature flag is enabled. See [#11337](https://github.com/google/site-kit-wp/issues/11337).
22+
* Add info tooltip below the Sign in with Google CTA on the splash screen to explain why Google account connection is required. See [#11335](https://github.com/google/site-kit-wp/issues/11335).
23+
* Add a "Recommended" badge below the Analytics checkbox on the new splash screen. See [#11334](https://github.com/google/site-kit-wp/issues/11334).
24+
* Create setup email reports notice component. See [#11144](https://github.com/google/site-kit-wp/issues/11144).
25+
* Add PUE settings section to the Admin settings screen. See [#11141](https://github.com/google/site-kit-wp/issues/11141).
26+
* Add Enhanced Conversions notification components for Ads and Analytics modules. See [#11018](https://github.com/google/site-kit-wp/issues/11018).
27+
* Fix bug that caused Sign in with Google button not to redirect the user to the page they signed in from. See [#10487](https://github.com/google/site-kit-wp/issues/10487).
28+
* Set a max-width on the Sign in with Google button. See [#10476](https://github.com/google/site-kit-wp/issues/10476).
29+
* Add support for block styling and custom HTML classes for the Sign in with Google block. See [#10475](https://github.com/google/site-kit-wp/issues/10475).
30+
* Add support for Sign in with Google button using a shortcode (`site_kit_sign_in_with_google`). See [#10150](https://github.com/google/site-kit-wp/issues/10150).
31+
32+
**Changed**
33+
34+
* Display warning when incompatible plugin/other issues are detected after Sign in with Google is set up. See [#11457](https://github.com/google/site-kit-wp/issues/11457).
35+
36+
**Fixed**
37+
38+
* Prevent empty fields being sent in user data for Enhanced Conversion events. See [#11626](https://github.com/google/site-kit-wp/issues/11626).
39+
* Fix bug that could cause Sign in with Google client ID not to be persisted. See [#11611](https://github.com/google/site-kit-wp/issues/11611).
40+
* Fix inconsistent plugin conversion tracking label in the Ads settings view. See [#11588](https://github.com/google/site-kit-wp/issues/11588).
41+
* Fix phone number classification in Enhanced Conversions to disregard false positives. See [#11484](https://github.com/google/site-kit-wp/issues/11484).
42+
* Fix visual bug in visitor group slide-over panel. See [#10991](https://github.com/google/site-kit-wp/issues/10991).
43+
344
= 1.164.0 =
445

546
**Added**

docs/Sign-in-with-Google-for-third-party-plugins.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sign in with Google for Third-Party Plugins & Themes
22

3-
Starting from **Site Kit n.e.x.t (or later)**, Site Kit supports rendering a Sign in with Google button using [WordPress PHP actions](https://developer.wordpress.org/plugins/hooks/actions/) and [WordPress shortcodes](https://codex.wordpress.org/Shortcode).
3+
Starting from **Site Kit 1.165.0 (or later)**, Site Kit supports rendering a Sign in with Google button using [WordPress PHP actions](https://developer.wordpress.org/plugins/hooks/actions/) and [WordPress shortcodes](https://codex.wordpress.org/Shortcode).
44

55
Use this documentation to integrate the Sign in with Google button provided by Site Kit into your WordPress plugin, theme, or site code directly.
66

@@ -14,11 +14,11 @@ Site Kit provides a PHP action, Gutenberg block, and a shortcode that allow thir
1414

1515
The Sign in with Google action and shortcode are ideal for:
1616

17-
- Adding Google authentication to custom login forms
18-
- Integrating Google Sign-In into membership plugins
19-
- Providing alternative authentication methods in custom user interfaces
20-
- Enhancing WooCommerce or other e-commerce login experiences
21-
- Embedding the button in page content, widgets, or page builders (using the shortcode)
17+
- Adding Google authentication to custom login forms
18+
- Integrating Google Sign-In into membership plugins
19+
- Providing alternative authentication methods in custom user interfaces
20+
- Enhancing WooCommerce or other e-commerce login experiences
21+
- Embedding the button in page content, widgets, or page builders (using the shortcode)
2222

2323
## PHP WordPress Action Hook
2424

@@ -30,12 +30,12 @@ do_action( 'googlesitekit_render_sign_in_with_google_button', array() );
3030

3131
The action accepts an optional `array` of the following parameters as its only argument:
3232

33-
| Argument | Type | Description | Values |
34-
|----------|------|-------------|---------|
35-
| `class` | `string` or `array` | Additional CSS classes to add to the button container (`'googlesitekit-sign-in-with-google__frontend-output-button'` is always present and cannot be removed.) | `string` or `array` of `string` |
36-
| `text` | `string` | Button text variation | `'continue_with'`, `'signin'`, `'signin_with'`, `'signup_with'` |
37-
| `theme` | `string` | Button color theme | `'outline'` (light), `'filled_blue'` (neutral), `'filled_black'` (dark) |
38-
| `shape` | `string` | Button shape | `'rectangular'`, `'pill'` |
33+
| Argument | Type | Description | Values |
34+
| -------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
35+
| `class` | `string` or `array` | Additional CSS classes to add to the button container (`'googlesitekit-sign-in-with-google__frontend-output-button'` is always present and cannot be removed.) | `string` or `array` of `string` |
36+
| `text` | `string` | Button text variation | `'continue_with'`, `'signin'`, `'signin_with'`, `'signup_with'` |
37+
| `theme` | `string` | Button color theme | `'outline'` (light), `'filled_blue'` (neutral), `'filled_black'` (dark) |
38+
| `shape` | `string` | Button shape | `'rectangular'`, `'pill'` |
3939

4040
**Returns:** The action returns no value as it outputs HTML directly (`void`).
4141

@@ -76,26 +76,26 @@ The shortcode accepts the same customization attributes as the PHP action:
7676

7777
**Shortcode Attributes:**
7878

79-
- `class` - Additional CSS class(es) to add to the button container
80-
- `shape` - Button shape (see options in "parameters" above)
81-
- `text` - Button text variation (see options in "parameters" above)
82-
- `theme` - Button color theme (see options in "parameters" above)
79+
- `class` - Additional CSS class(es) to add to the button container
80+
- `shape` - Button shape (see options in "parameters" above)
81+
- `text` - Button text variation (see options in "parameters" above)
82+
- `theme` - Button color theme (see options in "parameters" above)
8383

8484
The shortcode is useful for:
8585

86-
- Adding the button via the WordPress block editor (in text mode)
87-
- Including the button in widgets that support shortcodes
88-
- Embedding the button in page builders
89-
- Any context where using the Gutenberg block/PHP code directly is not possible
86+
- Adding the button via the WordPress block editor (in text mode)
87+
- Including the button in widgets that support shortcodes
88+
- Embedding the button in page builders
89+
- Any context where using the Gutenberg block/PHP code directly is not possible
9090

9191
## Behavior When Not Connected
9292

9393
You can use the PHP action or Shortcode even if Sign in with Google is not connected. If Site Kit cannot render a Sign in with Google button for any reason, no button will be output and no error/warning will be displayed.
9494

9595
The Sign in with Google button will **NOT** render in the following scenarios:
9696

97-
- Sign in with Google is not connected in Site Kit
98-
- Your site is not using HTTPS/SSL (Sign in with Google requires HTTPS for security)
97+
- Sign in with Google is not connected in Site Kit
98+
- Your site is not using HTTPS/SSL (Sign in with Google requires HTTPS for security)
9999

100100
## Examples
101101

@@ -145,15 +145,15 @@ The **button container** can be styled using CSS. The default class is always pr
145145

146146
```css
147147
.googlesitekit-sign-in-with-google__frontend-output-button {
148-
margin: 20px 0;
149-
text-align: center;
148+
margin: 20px 0;
149+
text-align: center;
150150
}
151151
```
152152

153153
**Note:** The button itself is rendered by Google's JavaScript and follows Google's design guidelines. The styling you apply affects only the container `div`.
154154

155155
## Additional Resources
156156

157-
- [Site Kit Sign in with Google Documentation](https://sitekit.withgoogle.com/documentation/supported-services/sign-in-with-google) - Check if you can't get a button to appear
158-
- [Google Identity Services Documentation](https://developers.google.com/identity/gsi/web) - Includes styling examples, etc.
159-
- [Site Kit Support](https://github.com/google/site-kit-wp/issues) - Report issues or ask questions
157+
- [Site Kit Sign in with Google Documentation](https://sitekit.withgoogle.com/documentation/supported-services/sign-in-with-google) - Check if you can't get a button to appear
158+
- [Google Identity Services Documentation](https://developers.google.com/identity/gsi/web) - Includes styling examples, etc.
159+
- [Site Kit Support](https://github.com/google/site-kit-wp/issues) - Report issues or ask questions

google-site-kit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: Site Kit by Google
1212
* Plugin URI: https://sitekit.withgoogle.com
1313
* 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.
14-
* Version: 1.164.0
14+
* Version: 1.165.0
1515
* Requires at least: 5.2
1616
* Requires PHP: 7.4
1717
* Author: Google
@@ -26,7 +26,7 @@
2626
}
2727

2828
// Define most essential constants.
29-
define( 'GOOGLESITEKIT_VERSION', '1.164.0' );
29+
define( 'GOOGLESITEKIT_VERSION', '1.165.0' );
3030
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
3131
define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
3232
define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' );

includes/Core/Conversion_Tracking/Conversion_Event_Providers/Easy_Digital_Downloads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function get_event_names() {
6060
/**
6161
* Gets the enhanced conversion event names that are tracked by this provider.
6262
*
63-
* @since n.e.x.t
63+
* @since 1.165.0
6464
*
6565
* @return array List of enhanced conversion event names.
6666
*/

0 commit comments

Comments
 (0)