Skip to content

Commit de1f30f

Browse files
committed
Merge branch 'feature/google-api-project' into tweak/prevent-notification-erorrs-deleted-products
2 parents 61fe02d + b51c815 commit de1f30f

File tree

25 files changed

+1704
-547
lines changed

25 files changed

+1704
-547
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ bin export-ignore
66
tests export-ignore
77
js/src export-ignore
88
js/build-dev export-ignore
9+
docs export-ignore
910
README.md export-ignore
1011
package.json export-ignore
1112
package-lock.json export-ignore
@@ -20,6 +21,7 @@ webpack.config.js export-ignore
2021
webpack-development.config.js export-ignore
2122
jest.config.js export-ignore
2223
wordpress_org_assets export-ignore
24+
.codecov.yml export-ignore
2325
.editorconfig export-ignore
2426
.externalized.json export-ignore
2527
.prettierrc.js export-ignore
@@ -28,5 +30,7 @@ wordpress_org_assets export-ignore
2830
.eslintrc.js export-ignore
2931
.stylelintignore export-ignore
3032
.stylelintrc.json export-ignore
33+
.npmrc export-ignore
3134
.nvmrc export-ignore
3235
.jsdocrc.json export-ignore
36+
.wp-env.json export-ignore

.wp-env.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"phpVersion": "8.0",
33
"plugins": [
4+
"https://downloads.wordpress.org/plugin/woocommerce.latest-stable.zip",
45
"https://github.com/WP-API/Basic-Auth/archive/master.zip",
56
"./tests/e2e/test-data",
67
"./tests/e2e/test-snippets",

changelog.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
*** WooCommerce Google Listings and Ads Changelog ***
22

3+
= 2.6.7 - 2024-04-16 =
4+
* Dev - Add E2E tests for the integration in the classic product editor.
5+
* Dev - Update e2e test environment to install WooCommerce earlier.
6+
* Fix - Exception in request review.
7+
8+
= 2.6.6 - 2024-04-09 =
9+
* Dev - Add snippet to bypass WooCommerce dependency in E2E tests.
10+
* Tweak - WC 8.8 compatibility.
11+
12+
= 2.6.5 - 2024-04-04 =
13+
* Dev - Update test proxy port.
14+
* Tweak - Show Review Inbox Notices when 11 clicks and 1 Conversion.
15+
316
= 2.6.4 - 2024-03-26 =
417
* Add - Filter WC REST API responses for gla_syncable param.
518
* Add - Missing functions for the WPCOM OAuth flow.

google-listings-and-ads.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Google Listings and Ads
44
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
55
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
6-
* Version: 2.6.4
6+
* Version: 2.6.7
77
* Author: WooCommerce
88
* Author URI: https://woo.com/
99
* Text Domain: google-listings-and-ads
@@ -13,7 +13,7 @@
1313
* Requires PHP Architecture: 64 bits
1414
* Requires Plugins: woocommerce
1515
* WC requires at least: 6.9
16-
* WC tested up to: 8.7
16+
* WC tested up to: 8.8
1717
* Woo:
1818
*
1919
* @package WooCommerce\Admin
@@ -30,7 +30,7 @@
3030

3131
defined( 'ABSPATH' ) || exit;
3232

33-
define( 'WC_GLA_VERSION', '2.6.4' ); // WRCS: DEFINED_VERSION.
33+
define( 'WC_GLA_VERSION', '2.6.7' ); // WRCS: DEFINED_VERSION.
3434
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
3535
define( 'WC_GLA_MIN_WC_VER', '6.9' );
3636

js/src/product-feed/review-request/review-request-notice.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ const ReviewRequestNotice = ( {
6464
<FlexItem className="gla-review-request-notice__button">
6565
{ accountReviewStatus.requestButton &&
6666
( account.cooldown ||
67-
account.reviewEligibleRegions.length > 0 ) && (
67+
Object.keys( account.reviewEligibleRegions )?.length >
68+
0 ) && (
6869
<AppButton
6970
isPrimary
7071
onClick={ onRequestReviewClick }

0 commit comments

Comments
 (0)