Version Description
- 2022-02-22 =
- Add - Filter to block full catalog batch API sync 'facebook_for_woocommerce_block_full_batch_api_sync'.
- Update - Deprecate 'facebook_for_woocommerce_allow_full_batch_api_sync' filter.
- Update - Facebook Marketing API from v11.0 to v12.0.
Download this release
Release Info
Developer | automattic |
Plugin | Facebook for WooCommerce |
Version | 2.6.10 |
Comparing to | |
See all releases |
Code changes from version 2.6.9 to 2.6.10
- changelog.txt +6 -1
- facebook-commerce.php +31 -3
- facebook-for-woocommerce.php +3 -3
- i18n/languages/facebook-for-woocommerce.pot +18 -20
- includes/AJAX.php +1 -1
- includes/fbgraph.php +1 -1
- readme.txt +7 -2
- vendor/autoload.php +1 -1
- vendor/composer/ClassLoader.php +1 -1
- vendor/composer/InstalledVersions.php +0 -13
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +6 -6
changelog.txt
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
*** Facebook for WooCommerce Changelog ***
|
2 |
|
3 |
-
2022-
|
|
|
|
|
|
|
|
|
|
|
4 |
* Fix - Replace is_ajax with wp_doing_ajax
|
5 |
* Tweak - Update contributor guidelines
|
6 |
* Tweak - WC 6.1 compatibility
|
1 |
*** Facebook for WooCommerce Changelog ***
|
2 |
|
3 |
+
2022-02-22 - version 2.6.10
|
4 |
+
* Add - Filter to block full catalog batch API sync 'facebook_for_woocommerce_block_full_batch_api_sync'.
|
5 |
+
* Update - Deprecate 'facebook_for_woocommerce_allow_full_batch_api_sync' filter.
|
6 |
+
* Update - Facebook Marketing API from v11.0 to v12.0.
|
7 |
+
|
8 |
+
2022-01-14 - version 2.6.9
|
9 |
* Fix - Replace is_ajax with wp_doing_ajax
|
10 |
* Tweak - Update contributor guidelines
|
11 |
* Tweak - WC 6.1 compatibility
|
facebook-commerce.php
CHANGED
@@ -694,7 +694,29 @@ class WC_Facebookcommerce_Integration extends WC_Integration {
|
|
694 |
* @since 2.6.1
|
695 |
*/
|
696 |
public function allow_full_batch_api_sync() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
697 |
$default_allow_sync = true;
|
|
|
|
|
|
|
|
|
698 |
|
699 |
/**
|
700 |
* Allow full batch api sync to be enabled or disabled.
|
@@ -703,12 +725,18 @@ class WC_Facebookcommerce_Integration extends WC_Integration {
|
|
703 |
* @param int $product_count Number of products in store.
|
704 |
*
|
705 |
* @return boolean True if full batch sync is safe.
|
|
|
706 |
* @since 2.6.1
|
|
|
707 |
*/
|
708 |
-
return
|
709 |
'facebook_for_woocommerce_allow_full_batch_api_sync',
|
710 |
-
|
711 |
-
|
|
|
|
|
|
|
|
|
712 |
);
|
713 |
}
|
714 |
|
694 |
* @since 2.6.1
|
695 |
*/
|
696 |
public function allow_full_batch_api_sync() {
|
697 |
+
|
698 |
+
/**
|
699 |
+
* Block the full batch API sync.
|
700 |
+
*
|
701 |
+
* @param bool $block_sync Should the full batch API sync be blocked?
|
702 |
+
*
|
703 |
+
* @return boolean True if full batch sync should be blocked.
|
704 |
+
* @since 2.6.10
|
705 |
+
*/
|
706 |
+
$block_sync = apply_filters(
|
707 |
+
'facebook_for_woocommerce_block_full_batch_api_sync',
|
708 |
+
false,
|
709 |
+
);
|
710 |
+
|
711 |
+
if ( $block_sync ) {
|
712 |
+
return false;
|
713 |
+
}
|
714 |
+
|
715 |
$default_allow_sync = true;
|
716 |
+
// If 'facebook_for_woocommerce_allow_full_batch_api_sync' is not used, prevent get_product_count from firing.
|
717 |
+
if ( ! has_filter( 'facebook_for_woocommerce_allow_full_batch_api_sync' ) ) {
|
718 |
+
return $default_allow_sync;
|
719 |
+
}
|
720 |
|
721 |
/**
|
722 |
* Allow full batch api sync to be enabled or disabled.
|
725 |
* @param int $product_count Number of products in store.
|
726 |
*
|
727 |
* @return boolean True if full batch sync is safe.
|
728 |
+
*
|
729 |
* @since 2.6.1
|
730 |
+
* @deprecated deprecated since version 2.6.10
|
731 |
*/
|
732 |
+
return apply_filters_deprecated(
|
733 |
'facebook_for_woocommerce_allow_full_batch_api_sync',
|
734 |
+
array(
|
735 |
+
$default_allow_sync,
|
736 |
+
$this->get_product_count(),
|
737 |
+
),
|
738 |
+
'2.6.10',
|
739 |
+
'facebook_for_woocommerce_block_full_batch_api_sync'
|
740 |
);
|
741 |
}
|
742 |
|
facebook-for-woocommerce.php
CHANGED
@@ -11,11 +11,11 @@
|
|
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.
|
15 |
* Text Domain: facebook-for-woocommerce
|
16 |
* Tested up to: 5.9
|
17 |
* WC requires at least: 3.5.0
|
18 |
-
* WC tested up to: 6.
|
19 |
* Requires PHP: 7.0
|
20 |
*
|
21 |
* @package FacebookCommerce
|
@@ -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.
|
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.10
|
15 |
* Text Domain: facebook-for-woocommerce
|
16 |
* Tested up to: 5.9
|
17 |
* WC requires at least: 3.5.0
|
18 |
+
* WC tested up to: 6.0
|
19 |
* Requires PHP: 7.0
|
20 |
*
|
21 |
* @package FacebookCommerce
|
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.10'; // 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 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
|
8 |
-
"POT-Creation-Date: 2022-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -111,45 +111,45 @@ msgstr ""
|
|
111 |
msgid "Facebook Commerce and Dynamic Ads (Pixel) Extension"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: facebook-commerce.php:
|
115 |
msgid "Nothing to update for product group for %1$s"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: facebook-commerce.php:
|
119 |
#. translators: Placeholders %1$s - original error message from Facebook API
|
120 |
msgid "There was an issue connecting to the Facebook API: %1$s"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: facebook-commerce.php:
|
124 |
msgid "Your connection has expired."
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: facebook-commerce.php:
|
128 |
msgid ""
|
129 |
"Please click Manage connection > Advanced Options > Update Token to refresh "
|
130 |
"your connection to Facebook."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: facebook-commerce.php:
|
134 |
#. translators: Placeholders %s - error message
|
135 |
msgid "There was an error trying to sync the products to Facebook. %s"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: facebook-commerce.php:
|
139 |
msgid "Product sync is disabled."
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: facebook-commerce.php:
|
143 |
msgid "The plugin is not configured or the Catalog ID is missing."
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: facebook-commerce.php:
|
147 |
msgid ""
|
148 |
"A product sync is in progress. Please wait until the sync finishes before "
|
149 |
"starting a new one."
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: facebook-commerce.php:
|
153 |
msgid ""
|
154 |
"We've detected that your Facebook Product Catalog is no longer valid. This "
|
155 |
"may happen if it was deleted, but could also be a temporary error. If the "
|
@@ -157,29 +157,29 @@ msgid ""
|
|
157 |
"and setup the plugin again."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: facebook-commerce.php:
|
161 |
msgid "Hi! We're here to answer any questions you may have."
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: facebook-commerce.php:
|
165 |
msgid "Facebook for WooCommerce error:"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: facebook-commerce.php:
|
169 |
msgid ""
|
170 |
"There was an error trying to retrieve information about the Facebook page: "
|
171 |
"%s"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: facebook-commerce.php:
|
175 |
msgid "Get started with Messenger Customer Chat"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: facebook-commerce.php:
|
179 |
msgid "Get started with Instagram Shopping"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: facebook-commerce.php:
|
183 |
#. translators: Placeholders %1$s - original error message from Facebook API
|
184 |
msgid "There was an issue connecting to the Facebook API: %s"
|
185 |
msgstr ""
|
@@ -217,9 +217,7 @@ msgid "Order not found"
|
|
217 |
msgstr ""
|
218 |
|
219 |
#: includes/AJAX.php:220
|
220 |
-
msgid ""
|
221 |
-
"Full product sync disabled by filter hook "
|
222 |
-
"`facebook_for_woocommerce_allow_full_batch_api_sync`."
|
223 |
msgstr ""
|
224 |
|
225 |
#: includes/AJAX.php:343 includes/AJAX.php:411
|
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.10\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
|
8 |
+
"POT-Creation-Date: 2022-02-22 08:49:43+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
111 |
msgid "Facebook Commerce and Dynamic Ads (Pixel) Extension"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: facebook-commerce.php:1426
|
115 |
msgid "Nothing to update for product group for %1$s"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: facebook-commerce.php:1839
|
119 |
#. translators: Placeholders %1$s - original error message from Facebook API
|
120 |
msgid "There was an issue connecting to the Facebook API: %1$s"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: facebook-commerce.php:2164
|
124 |
msgid "Your connection has expired."
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: facebook-commerce.php:2164
|
128 |
msgid ""
|
129 |
"Please click Manage connection > Advanced Options > Update Token to refresh "
|
130 |
"your connection to Facebook."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: facebook-commerce.php:2171
|
134 |
#. translators: Placeholders %s - error message
|
135 |
msgid "There was an error trying to sync the products to Facebook. %s"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: facebook-commerce.php:2194
|
139 |
msgid "Product sync is disabled."
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: facebook-commerce.php:2201
|
143 |
msgid "The plugin is not configured or the Catalog ID is missing."
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: facebook-commerce.php:2224
|
147 |
msgid ""
|
148 |
"A product sync is in progress. Please wait until the sync finishes before "
|
149 |
"starting a new one."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: facebook-commerce.php:2236
|
153 |
msgid ""
|
154 |
"We've detected that your Facebook Product Catalog is no longer valid. This "
|
155 |
"may happen if it was deleted, but could also be a temporary error. If the "
|
157 |
"and setup the plugin again."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: facebook-commerce.php:2765
|
161 |
msgid "Hi! We're here to answer any questions you may have."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: facebook-commerce.php:3155
|
165 |
msgid "Facebook for WooCommerce error:"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: facebook-commerce.php:3237
|
169 |
msgid ""
|
170 |
"There was an error trying to retrieve information about the Facebook page: "
|
171 |
"%s"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: facebook-commerce.php:3288
|
175 |
msgid "Get started with Messenger Customer Chat"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: facebook-commerce.php:3289
|
179 |
msgid "Get started with Instagram Shopping"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: facebook-commerce.php:3524
|
183 |
#. translators: Placeholders %1$s - original error message from Facebook API
|
184 |
msgid "There was an issue connecting to the Facebook API: %s"
|
185 |
msgstr ""
|
217 |
msgstr ""
|
218 |
|
219 |
#: includes/AJAX.php:220
|
220 |
+
msgid "Full product sync disabled by filter."
|
|
|
|
|
221 |
msgstr ""
|
222 |
|
223 |
#: includes/AJAX.php:343 includes/AJAX.php:411
|
includes/AJAX.php
CHANGED
@@ -217,7 +217,7 @@ class AJAX {
|
|
217 |
public function sync_products() {
|
218 |
// Allow opt-out of full batch-API sync, for example if store has a large number of products.
|
219 |
if ( ! facebook_for_woocommerce()->get_integration()->allow_full_batch_api_sync() ) {
|
220 |
-
wp_send_json_error( __( 'Full product sync disabled by filter
|
221 |
return;
|
222 |
}
|
223 |
|
217 |
public function sync_products() {
|
218 |
// Allow opt-out of full batch-API sync, for example if store has a large number of products.
|
219 |
if ( ! facebook_for_woocommerce()->get_integration()->allow_full_batch_api_sync() ) {
|
220 |
+
wp_send_json_error( __( 'Full product sync disabled by filter.', 'facebook-for-woocommerce' ) );
|
221 |
return;
|
222 |
}
|
223 |
|
includes/fbgraph.php
CHANGED
@@ -26,7 +26,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_Graph_API' ) ) :
|
|
26 |
*/
|
27 |
class WC_Facebookcommerce_Graph_API {
|
28 |
const GRAPH_API_URL = 'https://graph.facebook.com/';
|
29 |
-
const API_VERSION = '
|
30 |
const CURL_TIMEOUT = 500;
|
31 |
|
32 |
/**
|
26 |
*/
|
27 |
class WC_Facebookcommerce_Graph_API {
|
28 |
const GRAPH_API_URL = 'https://graph.facebook.com/';
|
29 |
+
const API_VERSION = 'v12.0';
|
30 |
const CURL_TIMEOUT = 500;
|
31 |
|
32 |
/**
|
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.9
|
6 |
-
Stable tag: 2.6.
|
7 |
Requires PHP: 5.6 or greater
|
8 |
MySQL: 5.6 or greater
|
9 |
License: GPLv2 or later
|
@@ -39,7 +39,12 @@ When opening a bug on GitHub, please give us as many details as possible.
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
-
= 2.6.
|
|
|
|
|
|
|
|
|
|
|
43 |
* Fix - Replace is_ajax with wp_doing_ajax
|
44 |
* Tweak - Update contributor guidelines
|
45 |
* Tweak - WC 6.1 compatibility
|
3 |
Tags: facebook, shop, catalog, advertise, pixel, product
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 2.6.10
|
7 |
Requires PHP: 5.6 or greater
|
8 |
MySQL: 5.6 or greater
|
9 |
License: GPLv2 or later
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 2.6.10 - 2022-02-22 =
|
43 |
+
* Add - Filter to block full catalog batch API sync 'facebook_for_woocommerce_block_full_batch_api_sync'.
|
44 |
+
* Update - Deprecate 'facebook_for_woocommerce_allow_full_batch_api_sync' filter.
|
45 |
+
* Update - Facebook Marketing API from v11.0 to v12.0.
|
46 |
+
|
47 |
+
= 2.6.9 - 2022-01-14 =
|
48 |
* Fix - Replace is_ajax with wp_doing_ajax
|
49 |
* Tweak - Update contributor guidelines
|
50 |
* Tweak - WC 6.1 compatibility
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit0f86517db65090d66df03c9af029ed75::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -149,7 +149,7 @@ class ClassLoader
|
|
149 |
|
150 |
/**
|
151 |
* @return string[] Array of classname => path
|
152 |
-
* @psalm-
|
153 |
*/
|
154 |
public function getClassMap()
|
155 |
{
|
149 |
|
150 |
/**
|
151 |
* @return string[] Array of classname => path
|
152 |
+
* @psalm-var array<string, string>
|
153 |
*/
|
154 |
public function getClassMap()
|
155 |
{
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -24,21 +24,8 @@ use Composer\Semver\VersionParser;
|
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
27 |
-
/**
|
28 |
-
* @var mixed[]|null
|
29 |
-
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
|
30 |
-
*/
|
31 |
private static $installed;
|
32 |
-
|
33 |
-
/**
|
34 |
-
* @var bool|null
|
35 |
-
*/
|
36 |
private static $canGetVendors;
|
37 |
-
|
38 |
-
/**
|
39 |
-
* @var array[]
|
40 |
-
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
41 |
-
*/
|
42 |
private static $installedByVendor = array();
|
43 |
|
44 |
/**
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
|
|
|
|
|
|
|
|
27 |
private static $installed;
|
|
|
|
|
|
|
|
|
28 |
private static $canGetVendors;
|
|
|
|
|
|
|
|
|
|
|
29 |
private static $installedByVendor = array();
|
30 |
|
31 |
/**
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit7a0cfb48396cdfd30eab4dbdb464dedd
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
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\
|
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 ComposerAutoloaderInit0f86517db65090d66df03c9af029ed75
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit0f86517db65090d66df03c9af029ed75', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit0f86517db65090d66df03c9af029ed75', '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\ComposerStaticInit0f86517db65090d66df03c9af029ed75::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'S' =>
|
@@ -43,9 +43,9 @@ class ComposerStaticInit7a0cfb48396cdfd30eab4dbdb464dedd
|
|
43 |
public static function getInitializer(ClassLoader $loader)
|
44 |
{
|
45 |
return \Closure::bind(function () use ($loader) {
|
46 |
-
$loader->prefixLengthsPsr4 =
|
47 |
-
$loader->prefixDirsPsr4 =
|
48 |
-
$loader->classMap =
|
49 |
|
50 |
}, null, ClassLoader::class);
|
51 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit0f86517db65090d66df03c9af029ed75
|
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 = ComposerStaticInit0f86517db65090d66df03c9af029ed75::$prefixLengthsPsr4;
|
47 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit0f86517db65090d66df03c9af029ed75::$prefixDirsPsr4;
|
48 |
+
$loader->classMap = ComposerStaticInit0f86517db65090d66df03c9af029ed75::$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-
|
4 |
-
'version' => 'dev-
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
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-
|
24 |
-
'version' => 'dev-
|
25 |
'type' => 'wordpress-plugin',
|
26 |
'install_path' => __DIR__ . '/../../',
|
27 |
'aliases' => array(),
|
28 |
-
'reference' => '
|
29 |
'dev_requirement' => false,
|
30 |
),
|
31 |
'roundcube/plugin-installer' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => 'dev-master',
|
4 |
+
'version' => 'dev-master',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '5c12461928b3dd561c82a807febdc5ea1aaadf6b',
|
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-master',
|
24 |
+
'version' => 'dev-master',
|
25 |
'type' => 'wordpress-plugin',
|
26 |
'install_path' => __DIR__ . '/../../',
|
27 |
'aliases' => array(),
|
28 |
+
'reference' => '5c12461928b3dd561c82a807febdc5ea1aaadf6b',
|
29 |
'dev_requirement' => false,
|
30 |
),
|
31 |
'roundcube/plugin-installer' => array(
|