Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.7.5 #2444

Merged
merged 9 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** WooCommerce Google Listings and Ads Changelog ***

= 2.7.5 - 2024-06-26 =
* Add - Add an query parameter `campaign=saved` to the dashboard URL after the campaign was created.

= 2.7.4 - 2024-06-25 =
* Add - Integration with the WP Consent API plugin.
* Dev - Add E2E tests for WP Consent API integration.
Expand Down
4 changes: 2 additions & 2 deletions google-listings-and-ads.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Google Listings and Ads
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
* Version: 2.7.4
* Version: 2.7.5
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Text Domain: google-listings-and-ads
Expand All @@ -30,7 +30,7 @@

defined( 'ABSPATH' ) || exit;

define( 'WC_GLA_VERSION', '2.7.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_GLA_VERSION', '2.7.5' ); // WRCS: DEFINED_VERSION.
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
define( 'WC_GLA_MIN_WC_VER', '6.9' );

Expand Down
3 changes: 2 additions & 1 deletion js/src/pages/create-paid-ads-campaign/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ const CreatePaidAdsCampaign = () => {
return;
}

getHistory().push( getDashboardUrl() );
// Add a query param `campaign=saved` to the dashboard URL to indicate that the campaign was successfully created and saved.
getHistory().push( getDashboardUrl( { campaign: 'saved' } ) );
};

if ( ! initialCountryCodes ) {
Expand Down
4 changes: 2 additions & 2 deletions js/src/utils/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const getSetupMCUrl = () => {
return getNewPath( null, setupMCPath, null );
};

export const getDashboardUrl = () => {
return getNewPath( null, dashboardPath, null );
export const getDashboardUrl = ( query = null ) => {
return getNewPath( query, dashboardPath, null );
};

/**
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "google-listings-and-ads",
"title": "Google Listings and Ads",
"version": "2.7.4",
"version": "2.7.5",
"description": "google-listings-and-ads",
"author": "Automattic",
"license": "GPL-3.0-or-later",
Expand Down
14 changes: 4 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
Requires PHP Architecture: 64 Bits
Stable tag: 2.7.4
Stable tag: 2.7.5
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -111,6 +111,9 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis

== Changelog ==

= 2.7.5 - 2024-06-26 =
* Add - Add an query parameter `campaign=saved` to the dashboard URL after the campaign was created.

= 2.7.4 - 2024-06-25 =
* Add - Integration with the WP Consent API plugin.
* Dev - Add E2E tests for WP Consent API integration.
Expand All @@ -120,13 +123,4 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis
* Fix - Fatal error when loading campaign in the marketing overview section.
* Tweak - Replace woo.com references with woocommerce.com.

= 2.7.2 - 2024-06-10 =
* Add - Google Ads account invitation acceptance step to the connection process.
* Fix - Show tracking snapshots in WPCLI.
* Tweak - Adjust click event tracking when connecting, disconnecting, and opening billing setup for Google Ads account.
* Tweak - Adjust event tracking for the creating and claim buttons of Google Ads account.
* Tweak - WC 9.0 compatibility.
* Update - Enable users to seamlessly set up conversion tracking, without having to set up merchant center first or requiring campaign creation.
* Update - Move the Google Ads account connection process from step 4 to step 1 of the onboarding flow.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/google-listings-and-ads/trunk/changelog.txt).
462 changes: 231 additions & 231 deletions src/Hooks/README.md

Large diffs are not rendered by default.