Facebook for WooCommerce - Version 2.6.7

Version Description

  • 2021-11-04 =
  • Fix - Parameter overloading error for PHP70 #2112
Download this release

Release Info

Developer automattic
Plugin Icon Facebook for WooCommerce
Version 2.6.7
Comparing to
See all releases

Code changes from version 2.6.6 to 2.6.7

changelog.txt CHANGED
@@ -1,6 +1,9 @@
1
  *** Facebook for WooCommerce Changelog ***
2
 
3
- 2021-11-03 - version 2.6.6
 
 
 
4
  * New - Memory improved feed generation process. #2099
5
  * New - Add compatibility with the WooCommerce checkout block. #2095
6
  * New - Track batched feed generation time in the tracker snapshots. #2104
1
  *** Facebook for WooCommerce Changelog ***
2
 
3
+ 2021-11-04 - version 2.6.7
4
+ * Fix - Parameter overloading error for PHP70 #2112
5
+
6
+ 2021-11-03 - version 2.6.6
7
  * New - Memory improved feed generation process. #2099
8
  * New - Add compatibility with the WooCommerce checkout block. #2095
9
  * New - Track batched feed generation time in the tracker snapshots. #2104
facebook-for-woocommerce.php CHANGED
@@ -11,7 +11,7 @@
11
  * 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.
12
  * Author: Facebook
13
  * Author URI: https://www.facebook.com/
14
- * Version: 2.6.6
15
  * Text Domain: facebook-for-woocommerce
16
  * Tested up to: 5.8
17
  * WC requires at least: 3.5.0
@@ -33,7 +33,7 @@ class WC_Facebook_Loader {
33
  /**
34
  * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease.
35
  */
36
- const PLUGIN_VERSION = '2.6.6'; // WRCS: DEFINED_VERSION.
37
 
38
  // Minimum PHP version required by this plugin.
39
  const MINIMUM_PHP_VERSION = '7.0.0';
11
  * 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.
12
  * Author: Facebook
13
  * Author URI: https://www.facebook.com/
14
+ * Version: 2.6.7
15
  * Text Domain: facebook-for-woocommerce
16
  * Tested up to: 5.8
17
  * WC requires at least: 3.5.0
33
  /**
34
  * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease.
35
  */
36
+ const PLUGIN_VERSION = '2.6.7'; // WRCS: DEFINED_VERSION.
37
 
38
  // Minimum PHP version required by this plugin.
39
  const MINIMUM_PHP_VERSION = '7.0.0';
i18n/languages/facebook-for-woocommerce.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the Facebook for WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WooCommerce 2.6.6\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2021-11-03 07:29:59+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the Facebook for WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WooCommerce 2.6.7\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2021-11-04 07:48:36+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
includes/Jobs/GenerateProductFeed.php CHANGED
@@ -111,7 +111,7 @@ class GenerateProductFeed extends AbstractChainedJob {
111
  * Empty function to satisfy parent class requirements.
112
  * We don't use it because we are processing the whole batch at once in process_items.
113
  */
114
- protected function process_item( $product, $args ) {}
115
 
116
  /**
117
  * Get the name/slug of the job.
111
  * Empty function to satisfy parent class requirements.
112
  * We don't use it because we are processing the whole batch at once in process_items.
113
  */
114
+ protected function process_item( $item, array $args ) {}
115
 
116
  /**
117
  * Get the name/slug of the job.
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: facebook, automattic, woothemes
3
  Tags: facebook, shop, catalog, advertise, pixel, product
4
  Requires at least: 4.4
5
  Tested up to: 5.8
6
- Stable tag: 2.6.6
7
  Requires PHP: 5.6 or greater
8
  MySQL: 5.6 or greater
9
  License: GPLv2 or later
@@ -37,9 +37,12 @@ When opening a bug on GitHub, please give us as many details as possible.
37
  * Your website URL
38
  * Current version of Facebook-for-WooCommerce, WooCommerce, Wordpress, PHP
39
 
40
- == Changelog ==
41
 
42
- = 2.6.6 - 2021-11-03 =
 
 
 
43
  * New - Memory improved feed generation process. #2099
44
  * New - Add compatibility with the WooCommerce checkout block. #2095
45
  * New - Track batched feed generation time in the tracker snapshots. #2104
3
  Tags: facebook, shop, catalog, advertise, pixel, product
4
  Requires at least: 4.4
5
  Tested up to: 5.8
6
+ Stable tag: 2.6.7
7
  Requires PHP: 5.6 or greater
8
  MySQL: 5.6 or greater
9
  License: GPLv2 or later
37
  * Your website URL
38
  * Current version of Facebook-for-WooCommerce, WooCommerce, Wordpress, PHP
39
 
40
+ == Changelog =
41
 
42
+ = 2.6.7 - 2021-11-04 =
43
+ * Fix - Parameter overloading error for PHP70 #2112
44
+
45
+ = 2.6.6 - 2021-11-03 =
46
  * New - Memory improved feed generation process. #2099
47
  * New - Add compatibility with the WooCommerce checkout block. #2095
48
  * New - Track batched feed generation time in the tracker snapshots. #2104
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitde7d5bed3e120a58eb0e6fe4bc2b3a15::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit92fe4636df1c1640ca27b8521c8de3a7::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitde7d5bed3e120a58eb0e6fe4bc2b3a15
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitde7d5bed3e120a58eb0e6fe4bc2b3a15
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitde7d5bed3e120a58eb0e6fe4bc2b3a15', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitde7d5bed3e120a58eb0e6fe4bc2b3a15', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit92fe4636df1c1640ca27b8521c8de3a7
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit92fe4636df1c1640ca27b8521c8de3a7', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit92fe4636df1c1640ca27b8521c8de3a7', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit92fe4636df1c1640ca27b8521c8de3a7::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
@@ -43,9 +43,9 @@ class ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15
43
  public static function getInitializer(ClassLoader $loader)
44
  {
45
  return \Closure::bind(function () use ($loader) {
46
- $loader->prefixLengthsPsr4 = ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15::$prefixLengthsPsr4;
47
- $loader->prefixDirsPsr4 = ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15::$prefixDirsPsr4;
48
- $loader->classMap = ComposerStaticInitde7d5bed3e120a58eb0e6fe4bc2b3a15::$classMap;
49
 
50
  }, null, ClassLoader::class);
51
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit92fe4636df1c1640ca27b8521c8de3a7
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
43
  public static function getInitializer(ClassLoader $loader)
44
  {
45
  return \Closure::bind(function () use ($loader) {
46
+ $loader->prefixLengthsPsr4 = ComposerStaticInit92fe4636df1c1640ca27b8521c8de3a7::$prefixLengthsPsr4;
47
+ $loader->prefixDirsPsr4 = ComposerStaticInit92fe4636df1c1640ca27b8521c8de3a7::$prefixDirsPsr4;
48
+ $loader->classMap = ComposerStaticInit92fe4636df1c1640ca27b8521c8de3a7::$classMap;
49
 
50
  }, null, ClassLoader::class);
51
  }
vendor/composer/installed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php return array(
2
  'root' => array(
3
- 'pretty_version' => 'dev-release/2.6.6',
4
- 'version' => 'dev-release/2.6.6',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '225d96525f5d3ac9330f597ba17af8041b24082a',
9
  'name' => 'facebookincubator/facebook-for-woocommerce',
10
  'dev' => false,
11
  ),
@@ -20,12 +20,12 @@
20
  'dev_requirement' => false,
21
  ),
22
  'facebookincubator/facebook-for-woocommerce' => array(
23
- 'pretty_version' => 'dev-release/2.6.6',
24
- 'version' => 'dev-release/2.6.6',
25
  'type' => 'wordpress-plugin',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
- 'reference' => '225d96525f5d3ac9330f597ba17af8041b24082a',
29
  'dev_requirement' => false,
30
  ),
31
  'roundcube/plugin-installer' => array(
1
  <?php return array(
2
  'root' => array(
3
+ 'pretty_version' => 'dev-release/2.6.7',
4
+ 'version' => 'dev-release/2.6.7',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'c3ebc12044d01b5ab4887bdb58f787fb0db83ed9',
9
  'name' => 'facebookincubator/facebook-for-woocommerce',
10
  'dev' => false,
11
  ),
20
  'dev_requirement' => false,
21
  ),
22
  'facebookincubator/facebook-for-woocommerce' => array(
23
+ 'pretty_version' => 'dev-release/2.6.7',
24
+ 'version' => 'dev-release/2.6.7',
25
  'type' => 'wordpress-plugin',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
+ 'reference' => 'c3ebc12044d01b5ab4887bdb58f787fb0db83ed9',
29
  'dev_requirement' => false,
30
  ),
31
  'roundcube/plugin-installer' => array(