Facebook for WooCommerce - Version 1.9.12

Version Description

  • 2019-05-2 =
  • Remove dead code which causes exception (Issue 975)
Download this release

Release Info

Developer facebook4woocommerce
Plugin Icon Facebook for WooCommerce
Version 1.9.12
Comparing to
See all releases

Code changes from version 1.9.11 to 1.9.12

changelog.txt CHANGED
@@ -1,4 +1,7 @@
1
*** Facebook for WooCommerce Changelog ***
2
2019-02-26 - Version 1.9.11
3
* changing contributor to facebook from facebook4woocommerce, so that
4
woo plugin will be shown under https://profiles.wordpress.org/facebook/#content-plugins
1
*** Facebook for WooCommerce Changelog ***
2
+ 2019-02-26 - Version 1.9.12
3
+ * Remove dead code which causes exception (Issue 975)
4
+
5
2019-02-26 - Version 1.9.11
6
* changing contributor to facebook from facebook4woocommerce, so that
7
woo plugin will be shown under https://profiles.wordpress.org/facebook/#content-plugins
facebook-commerce.php CHANGED
@@ -669,7 +669,7 @@ class WC_Facebookcommerce_Integration extends WC_Integration {
669
window.facebookAdsToolboxConfig = {
670
hasGzipSupport:
671
'<?php echo extension_loaded('zlib') ? 'true' : 'false' ?>'
672
- ,enabledPlugins: ['MESSENGER_CHAT','INSTAGRAM_SHOP']
673
,enableSubscription:
674
'<?php echo class_exists('WC_Subscriptions') ? 'true' : 'false' ?>'
675
,popupOrigin: '<?php echo isset($_GET['url']) ? esc_js($_GET['url']) :
@@ -1855,12 +1855,9 @@ class WC_Facebookcommerce_Integration extends WC_Integration {
1855
wp_reset_postdata();
1856
$this->fb_wp_die();
1857
return true;
1858
- } else if (!$this->test_mode) {
1859
- // curl failed, roll back to original sync approach.
1860
- WC_Facebookcommerce_Utils::fblog(
1861
- 'Sync all products using feed, curl failed', array(), true);
1862
- $this->sync_all_products();
1863
}
1864
return false;
1865
}
1866
669
window.facebookAdsToolboxConfig = {
670
hasGzipSupport:
671
'<?php echo extension_loaded('zlib') ? 'true' : 'false' ?>'
672
+ ,enabledPlugins: ['MESSENGER_CHAT','INSTAGRAM_SHOP', 'PAGE_SHOP']
673
,enableSubscription:
674
'<?php echo class_exists('WC_Subscriptions') ? 'true' : 'false' ?>'
675
,popupOrigin: '<?php echo isset($_GET['url']) ? esc_js($_GET['url']) :
1855
wp_reset_postdata();
1856
$this->fb_wp_die();
1857
return true;
1858
}
1859
+ WC_Facebookcommerce_Utils::fblog(
1860
+ 'Sync all products using feed, curl failed', array(), true);
1861
return false;
1862
}
1863
facebook-for-woocommerce.php CHANGED
@@ -10,7 +10,7 @@
10
* 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.
11
* Author: Facebook
12
* Author URI: https://www.facebook.com/
13
- * Version: 1.9.11
14
* Woo: 2127297:0ea4fe4c2d7ca6338f8a322fb3e4e187
15
* Text Domain: facebook-for-woocommerce
16
* WC requires at least: 3.0.0
10
* 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.
11
* Author: Facebook
12
* Author URI: https://www.facebook.com/
13
+ * Version: 1.9.12
14
* Woo: 2127297:0ea4fe4c2d7ca6338f8a322fb3e4e187
15
* Text Domain: facebook-for-woocommerce
16
* WC requires at least: 3.0.0
includes/fbutils.php CHANGED
@@ -21,7 +21,7 @@ if (!class_exists('WC_Facebookcommerce_Utils')) :
21
class WC_Facebookcommerce_Utils {
22
23
const FB_RETAILER_ID_PREFIX = 'wc_post_id_';
24
- const PLUGIN_VERSION = '1.9.11'; // Change it in `facebook-for-*.php` also
25
26
const FB_VARIANT_IMAGE = 'fb_image';
27
const FB_VARIANT_SIZE = 'size';
21
class WC_Facebookcommerce_Utils {
22
23
const FB_RETAILER_ID_PREFIX = 'wc_post_id_';
24
+ const PLUGIN_VERSION = '1.9.12'; // Change it in `facebook-for-*.php` also
25
26
const FB_VARIANT_IMAGE = 'fb_image';
27
const FB_VARIANT_SIZE = 'size';
readme.txt CHANGED
@@ -38,6 +38,8 @@ When opening a bug on GitHub, please give us as many details as possible.
38
* Current version of Facebook-for-WooCommerce, WooCommerce, Wordpress, PHP
39
40
== Changelog ==
41
42
= 1.9.11 - 2019-02-26 =
43
* changing contributor to facebook from facebook4woocommerce, so that
38
* Current version of Facebook-for-WooCommerce, WooCommerce, Wordpress, PHP
39
40
== Changelog ==
41
+ = 1.9.12 - 2019-05-2 =
42
+ * Remove dead code which causes exception (Issue 975)
43
44
= 1.9.11 - 2019-02-26 =
45
* changing contributor to facebook from facebook4woocommerce, so that