diff --git a/changelog.txt b/changelog.txt index be17878cb..8c9bfeb80 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ *** Facebook for WooCommerce Changelog *** += 3.1.6 - 2023-12-27 = +* Fix - Facebook Pixel events missing on redirect to cart. + = 3.1.5 - 2023-11-29 = * Fix - Remove mentions of shops. diff --git a/facebook-for-woocommerce.php b/facebook-for-woocommerce.php index dcd2a0f8a..563e5fb3e 100644 --- a/facebook-for-woocommerce.php +++ b/facebook-for-woocommerce.php @@ -11,7 +11,7 @@ * Description: Grow your business on Facebook! Use this official plugin to help sell more of your products using Facebook. After completing the setup, you'll be ready to create ads that promote your products and you can also create a shop section on your Page where customers can browse your products on Facebook. * Author: Facebook * Author URI: https://www.facebook.com/ - * Version: 3.1.5 + * Version: 3.1.6 * Requires at least: 5.6 * Text Domain: facebook-for-woocommerce * Tested up to: 6.4 @@ -44,7 +44,7 @@ class WC_Facebook_Loader { /** * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease. */ - const PLUGIN_VERSION = '3.1.5'; // WRCS: DEFINED_VERSION. + const PLUGIN_VERSION = '3.1.6'; // WRCS: DEFINED_VERSION. // Minimum PHP version required by this plugin. const MINIMUM_PHP_VERSION = '7.4.0'; diff --git a/includes/fbutils.php b/includes/fbutils.php index 082f818ea..6b74d32ba 100644 --- a/includes/fbutils.php +++ b/includes/fbutils.php @@ -48,7 +48,7 @@ class WC_Facebookcommerce_Utils { * * @var array * - * @since x.x.x + * @since 3.1.6 */ private static $deferred_events = []; @@ -57,7 +57,7 @@ class WC_Facebookcommerce_Utils { * * @return void * - * @since x.x.x + * @since 3.1.6 */ public static function print_deferred_events() { $deferred_events = static::load_deferred_events(); @@ -71,7 +71,7 @@ public static function print_deferred_events() { * * @return array * - * @since x.x.x + * @since 3.1.6 */ private static function load_deferred_events(): array { $transient_key = static::get_deferred_events_transient_key(); @@ -95,7 +95,7 @@ private static function load_deferred_events(): array { * * @return void * - * @since x.x.x + * @since 3.1.6 */ public static function add_deferred_event( string $code ): void { static::$deferred_events[] = $code; @@ -106,7 +106,7 @@ public static function add_deferred_event( string $code ): void { * * @return void * - * @since x.x.x + * @since 3.1.6 */ public static function save_deferred_events() { $transient_key = static::get_deferred_events_transient_key(); @@ -127,7 +127,7 @@ public static function save_deferred_events() { * * @return string * - * @since x.x.x + * @since 3.1.6 */ private static function get_deferred_events_transient_key(): string { if ( is_object( WC()->session ) ) { diff --git a/package-lock.json b/package-lock.json index 65bd6b88e..cf5aa29f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "facebook-for-woocommerce", - "version": "3.1.5", + "version": "3.1.6", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index c4f0bd5da..77783a700 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "facebook-for-woocommerce", - "version": "3.1.5", + "version": "3.1.6", "author": "Facebook", "homepage": "https://woo.com/products/facebook/", "license": "GPL-2.0", diff --git a/readme.txt b/readme.txt index 074e716fb..ee2c63ce4 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: facebook, automattic, woothemes Tags: facebook, shop, catalog, advertise, pixel, product Requires at least: 4.4 Tested up to: 6.4 -Stable tag: 3.1.5 +Stable tag: 3.1.6 Requires PHP: 5.6 or greater MySQL: 5.6 or greater License: GPLv2 or later @@ -40,6 +40,9 @@ When opening a bug on GitHub, please give us as many details as possible. == Changelog == += 3.1.6 - 2023-12-27 = +* Fix - Facebook Pixel events missing on redirect to cart. + = 3.1.5 - 2023-11-29 = * Fix - Remove mentions of shops.