Skip to content

Merge back trunk to develop after the release. #1135

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

Merged
merged 4 commits into from
Jun 17, 2025
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
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
*** Pinterest for WooCommerce Changelog ***

= 1.4.21 - 2025-06-16 =
* Update WP Consent API to affect all tracking with improved architecture.
* [dev] Pin Github actions to immutable references of commits instead of tags.

= 1.4.20 - 2025-06-03 =
* Tweak - Reenable WP Consent API tracking integration.

Expand Down
2 changes: 1 addition & 1 deletion class-pinterest-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public static function init_tracking() {
/**
* Filters whether to disable tracking based on user consent.
*
* @since x.x.x Added to provide granular user consent control for tracking.
* @since 1.4.21 Added to provide granular user consent control for tracking.
*
* @param bool $disable_tracking Whether to disable tracking due to user consent.
*/
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
Expand Up @@ -2,7 +2,7 @@
"name": "pinterest-for-woocommerce",
"title": "Pinterest for WooCommerce",
"description": "Pinterest for WooCommerce",
"version": "1.4.20",
"version": "1.4.21",
"main": "gulpfile.js",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions pinterest-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin Name: Pinterest for WooCommerce
* Plugin URI: https://woocommerce.com/products/pinterest-for-woocommerce/
* Description: Grow your business on Pinterest! Use this official plugin to allow shoppers to Pin products while browsing your store, track conversions, and advertise on Pinterest.
* Version: 1.4.20
* Version: 1.4.21
* Author: WooCommerce
* Author URI: https://woocommerce.com
* License: GPL-2.0+
Expand Down Expand Up @@ -47,7 +47,7 @@
}

define( 'PINTEREST_FOR_WOOCOMMERCE_PLUGIN_FILE', __FILE__ );
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.4.20' ); // WRCS: DEFINED_VERSION.
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.4.21' ); // WRCS: DEFINED_VERSION.

// HPOS compatibility declaration.
add_action(
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: pinterest, woocommerce, marketing, product catalog feed, pixel
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.3
Stable tag: 1.4.20
Stable tag: 1.4.21
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -91,6 +91,10 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/

== Changelog ==

= 1.4.21 - 2025-06-16 =
* Update WP Consent API to affect all tracking with improved architecture.
* [dev] Pin Github actions to immutable references of commits instead of tags.

= 1.4.20 - 2025-06-03 =
* Tweak - Reenable WP Consent API tracking integration.

Expand Down
2 changes: 1 addition & 1 deletion src/WPConsentAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function is_wp_consent_api_active(): bool {
* Check if tracking should be disabled based on user marketing consent.
*
* @since 1.4.17
* @since x.x.x Renamed from should_disable_tracking() for clarity.
* @since 1.4.21 Renamed from should_disable_tracking() for clarity.
*
* @return bool
*/
Expand Down