Skip to content

Commit

Permalink
Merge pull request #2673 from woocommerce/release/3.1.6
Browse files Browse the repository at this point in the history
Release/3.1.6
  • Loading branch information
message-dimke authored Dec 27, 2023
2 parents c5f34b7 + 0b00d5b commit 11e01a4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 2 additions & 2 deletions facebook-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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';
Expand Down
12 changes: 6 additions & 6 deletions includes/fbutils.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class WC_Facebookcommerce_Utils {
*
* @var array
*
* @since x.x.x
* @since 3.1.6
*/
private static $deferred_events = [];

Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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;
Expand All @@ -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();
Expand All @@ -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 ) ) {
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,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",
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 11e01a4

Please sign in to comment.