Version Description
- 2022-07-27 =
- Add -
wc_facebook_string_apply_shortcodes
filter to check whether to apply shortcodes on a string before syncing. - Tweak - Use the Heartbeat system to refresh the local business configuration data with the latest from Facebook.
- Tweak - WC 6.8 compatibility.
Download this release
Release Info
Developer | automattic |
Plugin | Facebook for WooCommerce |
Version | 2.6.19 |
Comparing to | |
See all releases |
Code changes from version 2.6.18 to 2.6.19
- changelog.txt +5 -0
- facebook-for-woocommerce.php +3 -3
- i18n/languages/facebook-for-woocommerce.pot +8 -8
- includes/Handlers/Connection.php +3 -16
- includes/fbutils.php +18 -1
- readme.txt +6 -1
- vendor/autoload.php +1 -1
- vendor/composer/InstalledVersions.php +7 -7
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +10 -10
changelog.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
*** Facebook for WooCommerce Changelog ***
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
2022-07-19 - version 2.6.18
|
4 |
* Fix - Misaligned help icons on Product Categories > Google Product Categories form.
|
5 |
* Fix - Syncing WC custom placeholder to Facebook shop.
|
1 |
*** Facebook for WooCommerce Changelog ***
|
2 |
|
3 |
+
= 2.6.19 - 2022-07-27 =
|
4 |
+
* Add - `wc_facebook_string_apply_shortcodes` filter to check whether to apply shortcodes on a string before syncing.
|
5 |
+
* Tweak - Use the Heartbeat system to refresh the local business configuration data with the latest from Facebook.
|
6 |
+
* Tweak - WC 6.8 compatibility.
|
7 |
+
|
8 |
2022-07-19 - version 2.6.18
|
9 |
* Fix - Misaligned help icons on Product Categories > Google Product Categories form.
|
10 |
* Fix - Syncing WC custom placeholder to Facebook shop.
|
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: 6.0
|
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.19
|
15 |
* Text Domain: facebook-for-woocommerce
|
16 |
* Tested up to: 6.0
|
17 |
* WC requires at least: 3.5.0
|
18 |
+
* WC tested up to: 6.8
|
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.19'; // 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-07-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -976,29 +976,29 @@ msgstr ""
|
|
976 |
msgid "Other"
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: includes/Handlers/Connection.php:
|
980 |
msgid "Connection successful!"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: includes/Handlers/Connection.php:
|
984 |
msgid "You do not have permission to uninstall Facebook Business Extension."
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: includes/Handlers/Connection.php:
|
988 |
msgid "Disconnection successful."
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: includes/Handlers/Connection.php:
|
992 |
#. translators: Placeholders: %s - API error message
|
993 |
msgid "Could not retrieve page access data. %s"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: includes/Handlers/Connection.php:
|
997 |
#. translators: Placeholders: %s - Facebook page ID
|
998 |
msgid "Page %s not authorized."
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: includes/Handlers/Connection.php:
|
1002 |
msgid "You do not have permission to finish App Store login."
|
1003 |
msgstr ""
|
1004 |
|
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.19\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
|
8 |
+
"POT-Creation-Date: 2022-07-27 18:34:56+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
976 |
msgid "Other"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: includes/Handlers/Connection.php:316
|
980 |
msgid "Connection successful!"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: includes/Handlers/Connection.php:370
|
984 |
msgid "You do not have permission to uninstall Facebook Business Extension."
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: includes/Handlers/Connection.php:380
|
988 |
msgid "Disconnection successful."
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: includes/Handlers/Connection.php:446
|
992 |
#. translators: Placeholders: %s - API error message
|
993 |
msgid "Could not retrieve page access data. %s"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: includes/Handlers/Connection.php:460
|
997 |
#. translators: Placeholders: %s - Facebook page ID
|
998 |
msgid "Page %s not authorized."
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: includes/Handlers/Connection.php:1433
|
1002 |
msgid "You do not have permission to finish App Store login."
|
1003 |
msgstr ""
|
1004 |
|
includes/Handlers/Connection.php
CHANGED
@@ -11,6 +11,7 @@
|
|
11 |
|
12 |
namespace SkyVerge\WooCommerce\Facebook\Handlers;
|
13 |
|
|
|
14 |
use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_API_Exception;
|
15 |
use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
|
16 |
use SkyVerge\WooCommerce\Facebook\API\Exceptions\Connect_WC_API_Exception;
|
@@ -109,9 +110,9 @@ class Connection {
|
|
109 |
|
110 |
$this->plugin = $plugin;
|
111 |
|
112 |
-
add_action(
|
113 |
|
114 |
-
add_action(
|
115 |
|
116 |
add_action( 'woocommerce_api_' . self::ACTION_CONNECT, array( $this, 'handle_connect' ) );
|
117 |
|
@@ -134,11 +135,6 @@ class Connection {
|
|
134 |
*/
|
135 |
public function refresh_business_configuration() {
|
136 |
|
137 |
-
// only refresh once an hour
|
138 |
-
if ( get_transient( 'wc_facebook_business_configuration_refresh' ) ) {
|
139 |
-
return;
|
140 |
-
}
|
141 |
-
|
142 |
// bail if not connected
|
143 |
if ( ! $this->is_connected() ) {
|
144 |
return;
|
@@ -175,7 +171,6 @@ class Connection {
|
|
175 |
$this->get_plugin()->log( 'Could not refresh business configuration. ' . $exception->getMessage() );
|
176 |
}
|
177 |
|
178 |
-
set_transient( 'wc_facebook_business_configuration_refresh', time(), HOUR_IN_SECONDS );
|
179 |
}
|
180 |
|
181 |
|
@@ -191,11 +186,6 @@ class Connection {
|
|
191 |
return;
|
192 |
}
|
193 |
|
194 |
-
// only refresh once a day
|
195 |
-
if ( get_transient( 'wc_facebook_connection_refresh' ) ) {
|
196 |
-
return;
|
197 |
-
}
|
198 |
-
|
199 |
try {
|
200 |
|
201 |
$this->update_installation_data();
|
@@ -205,7 +195,6 @@ class Connection {
|
|
205 |
$this->get_plugin()->log( 'Could not refresh installation data. ' . $exception->getMessage() );
|
206 |
}
|
207 |
|
208 |
-
set_transient( 'wc_facebook_connection_refresh', time(), DAY_IN_SECONDS );
|
209 |
}
|
210 |
|
211 |
|
@@ -424,8 +413,6 @@ class Connection {
|
|
424 |
|
425 |
facebook_for_woocommerce()->get_integration()->update_product_catalog_id( '' );
|
426 |
|
427 |
-
delete_transient( 'wc_facebook_business_configuration_refresh' );
|
428 |
-
|
429 |
}
|
430 |
|
431 |
|
11 |
|
12 |
namespace SkyVerge\WooCommerce\Facebook\Handlers;
|
13 |
|
14 |
+
use SkyVerge\WooCommerce\Facebook\Utilities\Heartbeat;
|
15 |
use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_API_Exception;
|
16 |
use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
|
17 |
use SkyVerge\WooCommerce\Facebook\API\Exceptions\Connect_WC_API_Exception;
|
110 |
|
111 |
$this->plugin = $plugin;
|
112 |
|
113 |
+
add_action( Heartbeat::HOURLY, array( $this, 'refresh_business_configuration' ) );
|
114 |
|
115 |
+
add_action( Heartbeat::DAILY, array( $this, 'refresh_installation_data' ) );
|
116 |
|
117 |
add_action( 'woocommerce_api_' . self::ACTION_CONNECT, array( $this, 'handle_connect' ) );
|
118 |
|
135 |
*/
|
136 |
public function refresh_business_configuration() {
|
137 |
|
|
|
|
|
|
|
|
|
|
|
138 |
// bail if not connected
|
139 |
if ( ! $this->is_connected() ) {
|
140 |
return;
|
171 |
$this->get_plugin()->log( 'Could not refresh business configuration. ' . $exception->getMessage() );
|
172 |
}
|
173 |
|
|
|
174 |
}
|
175 |
|
176 |
|
186 |
return;
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
try {
|
190 |
|
191 |
$this->update_installation_data();
|
195 |
$this->get_plugin()->log( 'Could not refresh installation data. ' . $exception->getMessage() );
|
196 |
}
|
197 |
|
|
|
198 |
}
|
199 |
|
200 |
|
413 |
|
414 |
facebook_for_woocommerce()->get_integration()->update_product_catalog_id( '' );
|
415 |
|
|
|
|
|
416 |
}
|
417 |
|
418 |
|
includes/fbutils.php
CHANGED
@@ -165,7 +165,24 @@ if ( ! class_exists( 'WC_Facebookcommerce_Utils' ) ) :
|
|
165 |
* @return string
|
166 |
*/
|
167 |
public static function clean_string( $string ) {
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
$string = str_replace( array( '&%3B', '&' ), '&', $string );
|
170 |
$string = str_replace( array( "\r", ' ', "\t" ), ' ', $string );
|
171 |
$string = wp_strip_all_tags( $string, false ); // true == remove line breaks
|
165 |
* @return string
|
166 |
*/
|
167 |
public static function clean_string( $string ) {
|
168 |
+
|
169 |
+
/**
|
170 |
+
* Filters whether the shortcodes should be applied for a string when syncing a product or be stripped out.
|
171 |
+
*
|
172 |
+
* @since 2.6.19
|
173 |
+
*
|
174 |
+
* @param bool $apply_shortcodes Shortcodes are applied if set to `true` and stripped out if set to `false`.
|
175 |
+
* @param string $string String to clean up.
|
176 |
+
*/
|
177 |
+
$apply_shortcodes = apply_filters( 'wc_facebook_string_apply_shortcodes', false, $string );
|
178 |
+
if ( $apply_shortcodes ) {
|
179 |
+
// Apply active shortcodes
|
180 |
+
$string = do_shortcode( $string );
|
181 |
+
} else {
|
182 |
+
// Strip out active shortcodes
|
183 |
+
$string = strip_shortcodes( $string );
|
184 |
+
}
|
185 |
+
|
186 |
$string = str_replace( array( '&%3B', '&' ), '&', $string );
|
187 |
$string = str_replace( array( "\r", ' ', "\t" ), ' ', $string );
|
188 |
$string = wp_strip_all_tags( $string, false ); // true == remove line breaks
|
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,6 +39,11 @@ When opening a bug on GitHub, please give us as many details as possible.
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
= 2.6.18 - 2022-07-19 =
|
43 |
* Fix - Misaligned help icons on Product Categories > Google Product Categories form.
|
44 |
* Fix - Syncing WC custom placeholder to Facebook shop.
|
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.19
|
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.19 - 2022-07-27 =
|
43 |
+
* Add - `wc_facebook_string_apply_shortcodes` filter to check whether to apply shortcodes on a string before syncing.
|
44 |
+
* Tweak - Use the Heartbeat system to refresh the local business configuration data with the latest from Facebook.
|
45 |
+
* Tweak - WC 6.8 compatibility.
|
46 |
+
|
47 |
= 2.6.18 - 2022-07-19 =
|
48 |
* Fix - Misaligned help icons on Product Categories > Google Product Categories form.
|
49 |
* Fix - Syncing WC custom placeholder to Facebook shop.
|
vendor/autoload.php
CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
-
return
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
+
return ComposerAutoloaderInitb61cc2979e1430e0106218eb648efcfa::getLoader();
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -28,7 +28,7 @@ class InstalledVersions
|
|
28 |
{
|
29 |
/**
|
30 |
* @var mixed[]|null
|
31 |
-
* @psalm-var array{root: array{name: string,
|
32 |
*/
|
33 |
private static $installed;
|
34 |
|
@@ -39,7 +39,7 @@ class InstalledVersions
|
|
39 |
|
40 |
/**
|
41 |
* @var array[]
|
42 |
-
* @psalm-var array<string, array{root: array{name: string,
|
43 |
*/
|
44 |
private static $installedByVendor = array();
|
45 |
|
@@ -243,7 +243,7 @@ class InstalledVersions
|
|
243 |
|
244 |
/**
|
245 |
* @return array
|
246 |
-
* @psalm-return array{name: string,
|
247 |
*/
|
248 |
public static function getRootPackage()
|
249 |
{
|
@@ -257,7 +257,7 @@ class InstalledVersions
|
|
257 |
*
|
258 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
259 |
* @return array[]
|
260 |
-
* @psalm-return array{root: array{name: string,
|
261 |
*/
|
262 |
public static function getRawData()
|
263 |
{
|
@@ -280,7 +280,7 @@ class InstalledVersions
|
|
280 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
281 |
*
|
282 |
* @return array[]
|
283 |
-
* @psalm-return list<array{root: array{name: string,
|
284 |
*/
|
285 |
public static function getAllRawData()
|
286 |
{
|
@@ -303,7 +303,7 @@ class InstalledVersions
|
|
303 |
* @param array[] $data A vendor/composer/installed.php data set
|
304 |
* @return void
|
305 |
*
|
306 |
-
* @psalm-param array{root: array{name: string,
|
307 |
*/
|
308 |
public static function reload($data)
|
309 |
{
|
@@ -313,7 +313,7 @@ class InstalledVersions
|
|
313 |
|
314 |
/**
|
315 |
* @return array[]
|
316 |
-
* @psalm-return list<array{root: array{name: string,
|
317 |
*/
|
318 |
private static function getInstalled()
|
319 |
{
|
28 |
{
|
29 |
/**
|
30 |
* @var mixed[]|null
|
31 |
+
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
|
32 |
*/
|
33 |
private static $installed;
|
34 |
|
39 |
|
40 |
/**
|
41 |
* @var array[]
|
42 |
+
* @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
43 |
*/
|
44 |
private static $installedByVendor = array();
|
45 |
|
243 |
|
244 |
/**
|
245 |
* @return array
|
246 |
+
* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
|
247 |
*/
|
248 |
public static function getRootPackage()
|
249 |
{
|
257 |
*
|
258 |
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
259 |
* @return array[]
|
260 |
+
* @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
|
261 |
*/
|
262 |
public static function getRawData()
|
263 |
{
|
280 |
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
281 |
*
|
282 |
* @return array[]
|
283 |
+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
284 |
*/
|
285 |
public static function getAllRawData()
|
286 |
{
|
303 |
* @param array[] $data A vendor/composer/installed.php data set
|
304 |
* @return void
|
305 |
*
|
306 |
+
* @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
|
307 |
*/
|
308 |
public static function reload($data)
|
309 |
{
|
313 |
|
314 |
/**
|
315 |
* @return array[]
|
316 |
+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
317 |
*/
|
318 |
private static function getInstalled()
|
319 |
{
|
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,12 +24,12 @@ class ComposerAutoloaderInit6ac81e4f7a5925e07494b636021ef0ff
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
-
call_user_func(\Composer\Autoload\
|
33 |
|
34 |
$loader->register(true);
|
35 |
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitb61cc2979e1430e0106218eb648efcfa
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInitb61cc2979e1430e0106218eb648efcfa', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb61cc2979e1430e0106218eb648efcfa', 'loadClassLoader'));
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitb61cc2979e1430e0106218eb648efcfa::getInitializer($loader));
|
33 |
|
34 |
$loader->register(true);
|
35 |
|
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 ComposerStaticInit6ac81e4f7a5925e07494b636021ef0ff
|
|
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 ComposerStaticInitb61cc2979e1430e0106218eb648efcfa
|
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 = ComposerStaticInitb61cc2979e1430e0106218eb648efcfa::$prefixLengthsPsr4;
|
47 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitb61cc2979e1430e0106218eb648efcfa::$prefixDirsPsr4;
|
48 |
+
$loader->classMap = ComposerStaticInitb61cc2979e1430e0106218eb648efcfa::$classMap;
|
49 |
|
50 |
}, null, ClassLoader::class);
|
51 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,31 +1,31 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'
|
4 |
-
'
|
|
|
|
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '310d671e165a116ecd83672c17db0a492989102e',
|
9 |
-
'name' => 'facebookincubator/facebook-for-woocommerce',
|
10 |
'dev' => false,
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'composer/installers' => array(
|
14 |
'pretty_version' => 'v1.12.0',
|
15 |
'version' => '1.12.0.0',
|
|
|
16 |
'type' => 'composer-plugin',
|
17 |
'install_path' => __DIR__ . '/./installers',
|
18 |
'aliases' => array(),
|
19 |
-
'reference' => 'd20a64ed3c94748397ff5973488761b22f6d3f19',
|
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' => '310d671e165a116ecd83672c17db0a492989102e',
|
29 |
'dev_requirement' => false,
|
30 |
),
|
31 |
'roundcube/plugin-installer' => array(
|
@@ -43,19 +43,19 @@
|
|
43 |
'skyverge/wc-plugin-framework' => array(
|
44 |
'pretty_version' => '5.10.0',
|
45 |
'version' => '5.10.0.0',
|
|
|
46 |
'type' => 'library',
|
47 |
'install_path' => __DIR__ . '/../skyverge/wc-plugin-framework',
|
48 |
'aliases' => array(),
|
49 |
-
'reference' => 'e230d7c40286854e49c0cafeec3398cbf2427a64',
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'woocommerce/action-scheduler-job-framework' => array(
|
53 |
'pretty_version' => '2.0.0',
|
54 |
'version' => '2.0.0.0',
|
|
|
55 |
'type' => 'library',
|
56 |
'install_path' => __DIR__ . '/../woocommerce/action-scheduler-job-framework',
|
57 |
'aliases' => array(),
|
58 |
-
'reference' => 'b0b21b9cc87e476ba7f8817050b39274ea7d6732',
|
59 |
'dev_requirement' => false,
|
60 |
),
|
61 |
),
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'name' => 'facebookincubator/facebook-for-woocommerce',
|
4 |
+
'pretty_version' => 'dev-develop',
|
5 |
+
'version' => 'dev-develop',
|
6 |
+
'reference' => 'b80497ece7cedf3cef90665fbdbb4763cbcfa9f0',
|
7 |
'type' => 'wordpress-plugin',
|
8 |
'install_path' => __DIR__ . '/../../',
|
9 |
'aliases' => array(),
|
|
|
|
|
10 |
'dev' => false,
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'composer/installers' => array(
|
14 |
'pretty_version' => 'v1.12.0',
|
15 |
'version' => '1.12.0.0',
|
16 |
+
'reference' => 'd20a64ed3c94748397ff5973488761b22f6d3f19',
|
17 |
'type' => 'composer-plugin',
|
18 |
'install_path' => __DIR__ . '/./installers',
|
19 |
'aliases' => array(),
|
|
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'facebookincubator/facebook-for-woocommerce' => array(
|
23 |
+
'pretty_version' => 'dev-develop',
|
24 |
+
'version' => 'dev-develop',
|
25 |
+
'reference' => 'b80497ece7cedf3cef90665fbdbb4763cbcfa9f0',
|
26 |
'type' => 'wordpress-plugin',
|
27 |
'install_path' => __DIR__ . '/../../',
|
28 |
'aliases' => array(),
|
|
|
29 |
'dev_requirement' => false,
|
30 |
),
|
31 |
'roundcube/plugin-installer' => array(
|
43 |
'skyverge/wc-plugin-framework' => array(
|
44 |
'pretty_version' => '5.10.0',
|
45 |
'version' => '5.10.0.0',
|
46 |
+
'reference' => 'e230d7c40286854e49c0cafeec3398cbf2427a64',
|
47 |
'type' => 'library',
|
48 |
'install_path' => __DIR__ . '/../skyverge/wc-plugin-framework',
|
49 |
'aliases' => array(),
|
|
|
50 |
'dev_requirement' => false,
|
51 |
),
|
52 |
'woocommerce/action-scheduler-job-framework' => array(
|
53 |
'pretty_version' => '2.0.0',
|
54 |
'version' => '2.0.0.0',
|
55 |
+
'reference' => 'b0b21b9cc87e476ba7f8817050b39274ea7d6732',
|
56 |
'type' => 'library',
|
57 |
'install_path' => __DIR__ . '/../woocommerce/action-scheduler-job-framework',
|
58 |
'aliases' => array(),
|
|
|
59 |
'dev_requirement' => false,
|
60 |
),
|
61 |
),
|