Facebook for WooCommerce - Version 2.6.2

Version Description

  • 2021-08-31 =
  • Fix - Update the Facebook Marketing API to version 11
Download this release

Release Info

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

Code changes from version 2.6.1 to 2.6.2

Files changed (136) hide show
  1. assets/build/admin/google-product-category-fields.asset.php +0 -1
  2. assets/build/admin/google-product-category-fields.js +0 -1
  3. assets/build/admin/index.asset.php +0 -1
  4. assets/build/admin/index.js +0 -1
  5. assets/build/admin/infobanner.asset.php +0 -1
  6. assets/build/admin/infobanner.js +0 -1
  7. assets/build/admin/metabox.asset.php +0 -1
  8. assets/build/admin/metabox.js +0 -1
  9. assets/build/admin/modal.asset.php +0 -1
  10. assets/build/admin/modal.js +0 -1
  11. assets/build/admin/orders.asset.php +0 -1
  12. assets/build/admin/orders.js +0 -1
  13. assets/build/admin/product-categories.asset.php +0 -1
  14. assets/build/admin/product-categories.js +0 -1
  15. assets/build/admin/product-sets-admin.asset.php +0 -1
  16. assets/build/admin/product-sets-admin.js +0 -1
  17. assets/build/admin/products-admin.asset.php +0 -1
  18. assets/build/admin/products-admin.js +0 -1
  19. assets/build/admin/settings-commerce.asset.php +0 -1
  20. assets/build/admin/settings-commerce.js +0 -1
  21. assets/build/admin/settings-sync.asset.php +0 -1
  22. assets/build/admin/settings-sync.js +0 -1
  23. changelog.txt +5 -2
  24. class-wc-facebookcommerce.php +1 -0
  25. facebook-commerce-events-tracker.php +4 -2
  26. facebook-commerce-messenger-chat.php +1 -0
  27. facebook-commerce-pixel-event.php +1 -0
  28. facebook-commerce.php +1 -0
  29. facebook-config-warmer.php +1 -0
  30. facebook-for-woocommerce.php +4 -3
  31. i18n/languages/facebook-for-woocommerce.pot +223 -223
  32. includes/AJAX.php +1 -0
  33. includes/API.php +1 -0
  34. includes/API/Catalog/Product_Group/Products/Read/Request.php +1 -0
  35. includes/API/Catalog/Product_Group/Products/Read/Response.php +1 -0
  36. includes/API/Catalog/Product_Item/Find/Request.php +1 -0
  37. includes/API/Catalog/Product_Item/Response.php +1 -0
  38. includes/API/Catalog/Request.php +1 -0
  39. includes/API/Catalog/Response.php +1 -0
  40. includes/API/Catalog/Send_Item_Updates/Request.php +1 -0
  41. includes/API/Catalog/Send_Item_Updates/Response.php +1 -0
  42. includes/API/Exceptions/Request_Limit_Reached.php +1 -0
  43. includes/API/FBE/Configuration/Messenger.php +1 -0
  44. includes/API/FBE/Configuration/Read/Response.php +1 -0
  45. includes/API/FBE/Configuration/Request.php +1 -0
  46. includes/API/FBE/Configuration/Update/Request.php +1 -0
  47. includes/API/FBE/Installation/Read/Request.php +1 -0
  48. includes/API/FBE/Installation/Read/Response.php +1 -0
  49. includes/API/FBE/Installation/Request.php +1 -0
  50. includes/API/Orders/Abstract_Request.php +1 -0
  51. includes/API/Orders/Acknowledge/Request.php +1 -0
  52. includes/API/Orders/Cancel/Request.php +1 -0
  53. includes/API/Orders/Fulfillment/Request.php +1 -0
  54. includes/API/Orders/Order.php +1 -0
  55. includes/API/Orders/Read/Request.php +1 -0
  56. includes/API/Orders/Read/Response.php +1 -0
  57. includes/API/Orders/Refund/Request.php +1 -0
  58. includes/API/Orders/Request.php +1 -0
  59. includes/API/Orders/Response.php +1 -0
  60. includes/API/Pages/Read/Request.php +1 -0
  61. includes/API/Pages/Read/Response.php +1 -0
  62. includes/API/Pixel/Events/Request.php +1 -0
  63. includes/API/Request.php +1 -0
  64. includes/API/Response.php +1 -0
  65. includes/API/Traits/Idempotent_Request.php +1 -0
  66. includes/API/Traits/Paginated_Response.php +1 -0
  67. includes/API/Traits/Rate_Limited_API.php +1 -0
  68. includes/API/Traits/Rate_Limited_Request.php +1 -0
  69. includes/API/Traits/Rate_Limited_Response.php +1 -0
  70. includes/API/User/Permissions/Delete/Request.php +1 -0
  71. includes/API/User/Request.php +1 -0
  72. includes/API/User/Response.php +1 -0
  73. includes/Admin.php +1 -0
  74. includes/Admin/Abstract_Settings_Screen.php +1 -0
  75. includes/Admin/Enhanced_Catalog_Attribute_Fields.php +1 -0
  76. includes/Admin/Google_Product_Category_Field.php +1 -0
  77. includes/Admin/Product_Categories.php +1 -0
  78. includes/Admin/Product_Sets.php +1 -0
  79. includes/Admin/Products.php +1 -0
  80. includes/Admin/Settings.php +1 -0
  81. includes/Admin/Settings_Screens/Advertise.php +1 -0
  82. includes/Admin/Settings_Screens/Connection.php +1 -0
  83. includes/Admin/Settings_Screens/Messenger.php +1 -0
  84. includes/Admin/Settings_Screens/Product_Sets.php +1 -0
  85. includes/Admin/Settings_Screens/Product_Sync.php +1 -0
  86. includes/Commerce.php +1 -0
  87. includes/Commerce/Orders.php +1 -0
  88. includes/Debug/ProfilingLogger.php +1 -0
  89. includes/Debug/ProfilingLoggerProcess.php +1 -0
  90. includes/Events/AAMSettings.php +1 -0
  91. includes/Events/Event.php +1 -0
  92. includes/Events/Normalizer.php +1 -0
  93. includes/Exceptions/ConnectWCAPIException.php +1 -0
  94. includes/Handlers/Connection.php +1 -0
  95. includes/Handlers/WebHook.php +1 -0
  96. includes/Integrations/Bookings.php +1 -0
  97. includes/Integrations/Integrations.php +1 -0
  98. includes/Jobs/AbstractChainedJob.php +1 -0
  99. includes/Jobs/GenerateProductFeed.php +1 -0
  100. includes/Jobs/JobRegistry.php +1 -0
  101. includes/Jobs/LoggingTrait.php +1 -0
  102. includes/Lifecycle.php +1 -0
  103. includes/Locale.php +1 -0
  104. includes/ProductSets/Sync.php +1 -0
  105. includes/Product_Categories.php +1 -0
  106. includes/Products.php +1 -0
  107. includes/Products/FBCategories.php +1 -0
  108. includes/Products/Feed.php +1 -0
  109. includes/Products/Stock.php +1 -0
  110. includes/Products/Sync.php +1 -0
  111. includes/Products/Sync/Background.php +1 -0
  112. includes/Utilities/Background_Handle_Virtual_Products_Variations.php +1 -0
  113. includes/Utilities/Background_Remove_Duplicate_Visibility_Meta.php +1 -0
  114. includes/Utilities/Heartbeat.php +1 -0
  115. includes/Utilities/Shipment.php +1 -0
  116. includes/Utilities/Tracker.php +6 -5
  117. includes/fbasync.php +1 -0
  118. includes/fbbackground.php +1 -0
  119. includes/fbgraph.php +3 -2
  120. includes/fbinfobanner.php +1 -0
  121. includes/fbproduct.php +3 -2
  122. includes/fbproductfeed.php +1 -0
  123. includes/fbutils.php +1 -0
  124. includes/fbwpml.php +1 -0
  125. includes/test/facebook-integration-test.php +1 -0
  126. includes/test/fbproductfeed-test.php +1 -0
  127. readme.txt +6 -3
  128. vendor/autoload.php +1 -1
  129. vendor/composer/ClassLoader.php +39 -3
  130. vendor/composer/InstalledVersions.php +337 -0
  131. vendor/composer/autoload_classmap.php +1 -0
  132. vendor/composer/autoload_real.php +8 -6
  133. vendor/composer/autoload_static.php +8 -3
  134. vendor/composer/installed.json +230 -223
  135. vendor/composer/installed.php +62 -0
  136. vendor/composer/platform_check.php +26 -0
assets/build/admin/google-product-category-fields.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '626147500c00fb1fe6128015d31a1369');
 
assets/build/admin/google-product-category-fields.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var t={};function o(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,a){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(a,r,function(t){return e[t]}.bind(null,r));return a},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&o(e.prototype,t),a&&o(e,a),e},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,o){"use strict";o.r(t);var a=o(0),r=o.n(a),n=o(1),c=o.n(n);jQuery(document).ready((function(e){window.WC_Facebook_Google_Product_Category_Fields=function(){function t(o,a){var n=this;r()(this,t),this.categories=o,this.input_id=a;var c=e("#"+this.input_id);e('<div id="wc-facebook-google-product-category-fields"></div>').insertBefore(c).on("change","select.wc-facebook-google-product-category-select",(function(t){n.onChange(e(t.target))})),this.addInitialSelects(c.val());var i=this.globalsHolder().enhanced_attribute_optional_selector;void 0!==i&&e("#"+i).on("change",(function(){e(".wc-facebook-enhanced-catalog-attribute-optional-row").toggleClass("hidden",!e(this).prop("checked"))}))}return c()(t,[{key:"globalsHolder",value:function(){return"undefined"!=typeof facebook_for_woocommerce_product_categories?facebook_for_woocommerce_product_categories:"undefined"!=typeof facebook_for_woocommerce_settings_sync?facebook_for_woocommerce_settings_sync:facebook_for_woocommerce_products_admin}},{key:"getPageType",value:function(){return"undefined"!=typeof facebook_for_woocommerce_product_categories?0===e("input[name=tag_ID]").length?this.globalsHolder().enhanced_attribute_page_type_add_category:this.globalsHolder().enhanced_attribute_page_type_edit_category:this.globalsHolder().enhanced_attribute_page_type_edit_product}},{key:"addInitialSelects",value:function(e){var t=this;if(e){this.getSelectedCategoryIds(e).forEach((function(e){t.addSelect(t.getOptions(e[1]),e[0])}));var o=this.getOptions(e);Object.keys(o).length&&this.addSelect(o)}else this.addSelect(this.getOptions()),this.addSelect({})}},{key:"requestAttributesIfValid",value:function(){if("true"===e("#wc_facebook_can_show_enhanced_catalog_attributes_id").val()&&(e(".wc-facebook-enhanced-catalog-attribute-row").remove(),this.isValid())){var t="#"+this.input_id,o=e(t).parents("div.form-field"),a=this.globalsHolder().enhanced_attribute_optional_selector;this.getPageType()===this.globalsHolder().enhanced_attribute_page_type_edit_category?o=e(t).parents("tr.form-field"):this.getPageType()===this.globalsHolder().enhanced_attribute_page_type_edit_product&&(o=e(t).parents("p.form-field")),e.get(this.globalsHolder().ajax_url,{action:"wc_facebook_enhanced_catalog_attributes",security:"",selected_category:e(t).val(),tag_id:parseInt(e("input[name=tag_ID]").val(),10),taxonomy:e("input[name=taxonomy]").val(),item_id:parseInt(e("input[name=post_ID]").val(),10),page_type:this.getPageType()},(function(t){var r=e(t);e("#"+a,r).on("change",(function(){e(".wc-facebook-enhanced-catalog-attribute-optional-row").toggleClass("hidden",!e(this).prop("checked"))})),r.insertAfter(o),e(document.body).trigger("init_tooltips")}))}}},{key:"onChange",value:function(t){t.hasClass("locked")&&t.closest(".wc-facebook-google-product-category-field").nextAll().remove();var o=t.val();if(o){var a=this.getOptions(o);Object.keys(a).length&&this.addSelect(a)}else(o=t.closest("#wc-facebook-google-product-category-fields").find(".wc-facebook-google-product-category-select").not(t).last().val())||this.addSelect({});e("#"+this.input_id).val(o),this.requestAttributesIfValid()}},{key:"isValid",value:function(){return e(".wc-facebook-google-product-category-select").filter((function(t,o){return""!==e(o).val()})).length>=2}},{key:"addSelect",value:function(t,o){var a=e("#wc-facebook-google-product-category-fields"),r=a.find(".wc-facebook-google-product-category-select"),n=e('<select class="wc-enhanced-select wc-facebook-google-product-category-select"></select>');r.addClass("locked"),a.append(e('<div class="wc-facebook-google-product-category-field" style="margin-bottom: 16px">').append(n)),n.attr("data-placeholder",this.getSelectPlaceholder(r,t)).append(e('<option value=""></option>')),Object.keys(t).forEach((function(o){n.append(e('<option value="'+o+'">'+t[o]+"</option>"))})),n.val(o).select2({allowClear:!0})}},{key:"getSelectPlaceholder",value:function(e,t){return 0===e.length?facebook_for_woocommerce_google_product_category.i18n.top_level_dropdown_placeholder:1===e.length&&0===Object.keys(t).length?facebook_for_woocommerce_google_product_category.i18n.second_level_empty_dropdown_placeholder:facebook_for_woocommerce_google_product_category.i18n.general_dropdown_placeholder}},{key:"getOptions",value:function(e){return void 0===e||""===e?this.getTopLevelOptions():void 0===this.categories[e]||void 0===this.categories[e].options?[]:this.categories[e].options}},{key:"getTopLevelOptions",value:function(){var e=this,t={};return Object.keys(this.categories).forEach((function(o){e.categories[o].parent||(t[o]=e.categories[o].label)})),t}},{key:"getSelectedCategoryIds",value:function(e){var t=[];do{void 0!==this.categories[e]&&(t.push([e,this.categories[e].parent]),e=this.categories[e].parent)}while(""!==e);return t.reverse()}}]),t}()}))}]);
 
assets/build/admin/index.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '92d945b180080836a3157ac9b263c06c');
 
assets/build/admin/index.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}({2:function(e,t){}});
 
assets/build/admin/infobanner.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ccca6a73c5adc6f240057c51651bdc57');
 
assets/build/admin/infobanner.js DELETED
@@ -1 +0,0 @@
1
- !function(n){var o={};function e(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return n[t].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=n,e.c=o,e.d=function(n,o,t){e.o(n,o)||Object.defineProperty(n,o,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,o){if(1&o&&(n=e(n)),8&o)return n;if(4&o&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&o&&"string"!=typeof n)for(var r in n)e.d(t,r,function(o){return n[o]}.bind(null,r));return t},e.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(o,"a",o),o},e.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},e.p="",e(e.s=4)}({4:function(n,o){function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=Object.assign({},{action:n},o);jQuery.post(ajaxurl,r,(function(n){e&&e(n)})).fail((function(n){t&&t(n)}))}window.fb_woo_infobanner_post_click=function(){return console.log("Woo infobanner post tip click!"),e("ajax_woo_infobanner_post_click",{_ajax_nonce:wc_facebook_infobanner_jsx.nonce})},window.fb_woo_infobanner_post_xout=function(){return console.log("Woo infobanner post tip xout!"),e("ajax_woo_infobanner_post_xout",{_ajax_nonce:wc_facebook_infobanner_jsx.nonce})}}});
 
assets/build/admin/metabox.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '6ff43a7f900b41409fd2b57e7f59c331');
 
assets/build/admin/metabox.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}({5:function(e,t){function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=Object.assign({},{action:e},t);jQuery.post(ajaxurl,r,(function(e){o&&o(e)})).fail((function(e){n&&n(e)}))}window.fb_reset_product=function(e){if(confirm("Resetting Facebook metadata will not remove this product from your shop. If you have duplicated another product and are trying to publish a new Facebook product, click OK to proceed. Otherwise, Facebook metadata will be restored when this product is updated again.")){var t=document.querySelector("#fb_metadata");return t&&(t.innerHTML="<b>This product is not yet synced to Facebook.</b>"),o("ajax_reset_single_fb_product",{wp_id:e,_ajax_nonce:wc_facebook_metabox_jsx.nonce})}},window.fb_delete_product=function(e){if(confirm('Are you sure you want to delete this product on Facebook? If you only want to "hide" the product, change the "Facebook sync" setting to "Sync and hide" and hit "Update". If you delete a product on Facebook and hit "Update" after, this product will be recreated. To permanently remove this product from Facebook, hit "OK" and close the window.This will not delete the product from WooCommerce.')){var t=document.querySelector("#fb_metadata");return t&&(t.innerHTML="<b>This product is not yet synced to Facebook.</b>"),o("ajax_delete_fb_product",{wp_id:e,_ajax_nonce:wc_facebook_metabox_jsx.nonce})}}}});
 
assets/build/admin/modal.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '5893f2331640da5de5c8690f39ba5f3e');
 
assets/build/admin/modal.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var n={};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=n,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)o.d(t,r,function(n){return e[n]}.bind(null,r));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o(o.s=6)}({6:function(e,n){var o;o=jQuery,window.isModalBlocked=function(){var e=o(".wc-backbone-modal-content");return e.is(".processing")||e.parents(".processing").length},window.blockModal=function(){if(!isModalBlocked())return o(".wc-backbone-modal-content").addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},window.unBlockModal=function(){o(".wc-backbone-modal-content").removeClass("processing").unblock()},window.closeExistingModal=function(){o("#wc-backbone-modal-dialog .modal-close").trigger("click")}}});
 
assets/build/admin/orders.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '869fc31f506af286cd2b4e213105990a');
 
assets/build/admin/orders.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var o={};function r(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=o,r.d=function(e,o,c){r.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:c})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,o){if(1&o&&(e=r(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)r.d(c,n,function(o){return e[o]}.bind(null,n));return c},r.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(o,"a",o),o},r.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r.p="",r(r.s=7)}({7:function(e,o){jQuery(document).ready((function(e){"use strict";var o=Boolean(wc_facebook_commerce_orders.is_commerce_order),r={restrict_order_statuses:function(e){e.find("option").each((function(e,o){-1===wc_facebook_commerce_orders.allowed_commerce_statuses.indexOf(o.value)&&o.remove()}))},toggle_created_date_fields_status:function(o){r.toggle_field(e("#order_data").find("input[name*=order_date]"),o)},disable_order_status_field:function(e){r.toggle_field(e,!1)},toggle_order_customer_field:function(o){e("#order_data").find(".form-field.wc-customer-user").toggleClass("hidden",o)},toggle_billing_and_shipping_fields:function(o){e("#order_data").find("a.edit_address").toggleClass("hidden",o)},disable_pending_order_related_fields:function(e){r.toggle_created_date_fields_status(!1),r.disable_order_status_field(e),r.toggle_order_customer_field(!0),r.toggle_billing_and_shipping_fields(!0)},maybe_disable_refunds:function(){"completed"!==wc_facebook_commerce_orders.order_status&&e(".wc-order-bulk-actions .refund-items").hide()},toggle_field:function(e,o){e.hasClass("wc-enhanced-select")&&(e=e.next("span.select2-container")),o?e.css("pointer-events","all").css("opacity","1.0"):e.css("pointer-events","none").css("opacity","0.4")}},c=e('form[id="post"]'),n=e("#order_status"),a=n.val(),t=wc_facebook_commerce_orders.shipment_tracking,d="",_="",i="",s="";function l(o){unBlockModal(),e(".facebook-for-woocommerce-modal .wc-backbone-modal-content article").html("<p>"+o+"</p>"),e(".facebook-for-woocommerce-modal .wc-backbone-modal-content footer").remove()}function f(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!r.length)return alert(wc_facebook_commerce_orders.i18n.missing_tracking_number_error),!1;o&&blockModal(),c.find("button[type=submit].save_order").prop("disabled",!0).append('<span class="spinner is-active"></span>'),e.post(ajaxurl,{action:wc_facebook_commerce_orders.complete_order_action,order_id:e("#post_ID").val(),tracking_number:r,carrier_code:n,nonce:wc_facebook_commerce_orders.complete_order_nonce},(function(e){if(o&&unBlockModal(),e&&e.success)c.data("allow-submit",!0).trigger("submit");else{var r=e&&e.data?e.data:wc_facebook_commerce_orders.i18n.unknown_error;alert(r)}})).fail((function(){l(wc_facebook_commerce_orders.i18n.unknown_error)})).always((function(){c.find("button[type=submit].save_order").prop("disabled",!1).find("span.spinner").remove()}))}function m(){var o=e("#refund_reason"),r=e("#wc_facebook_refund_reason").clone().css("width",o.css("width")),c=o.closest("tr"),n=c.clone();c.find("td.total").css("width","16em").end().find("#refund_reason").replaceWith(r.show()).end().find('label[for="refund_reason"]').attr("for","wc_facebook_refund_reason"),c.after(n),u(c,"wc_facebook_refund_reason",wc_facebook_commerce_orders.i18n.refund_reason_label,wc_facebook_commerce_orders.i18n.refund_reason_tooltip),u(n,"refund_reason",wc_facebook_commerce_orders.i18n.refund_description_label,wc_facebook_commerce_orders.i18n.refund_description_tooltip)}function u(e,o,r,c){var n=e.find('label[for="'+o+'"]'),a=n.find(".woocommerce-help-tip").clone();n.text(r),c&&a.length&&(n.prepend(a),a.attr("data-tip",c).tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200}))}Array.isArray(t)&&t[0]&&(d=t[0].tracking_number,_=t[0].carrier_code),o&&(r.restrict_order_statuses(n),"pending"===wc_facebook_commerce_orders.order_status&&r.disable_pending_order_related_fields(n),"cancelled"===wc_facebook_commerce_orders.order_status&&r.disable_order_status_field(n),r.maybe_disable_refunds()),o&&(m(),function(){if(void 0!==window.MutationObserver){var o=document.querySelector("#woocommerce-order-items .inside");o&&new MutationObserver((function(o){o.forEach((function(o){Array.prototype.forEach.call(o.addedNodes,(function(o){e(o).is(".wc-order-refund-items")&&m()}))}))})).observe(o,{childList:!0})}}()),c.on("submit",(function(r){if(!e("#post").data("skip-cancel-modal")&&"wc-cancelled"!==a&&o&&"wc-cancelled"===n.val())return function(o){return o.preventDefault(),e("#wc-backbone-modal-dialog .modal-close").trigger("click"),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:wc_facebook_commerce_orders.cancel_modal_message,buttons:wc_facebook_commerce_orders.cancel_modal_buttons}}),e(".facebook-for-woocommerce-modal #btn-ok").off("click.facebook_for_commerce").on("click.facebook_for_commerce",(function(o){o.preventDefault(),o.stopPropagation(),blockModal(),e.post(ajaxurl,{action:wc_facebook_commerce_orders.cancel_order_action,order_id:e("#post_ID").val(),reason_code:e('.facebook-for-woocommerce-modal [name="wc_facebook_cancel_reason"]').val(),security:wc_facebook_commerce_orders.cancel_order_nonce},(function(o){o&&o.success?e("#post").data("skip-cancel-modal",!0).trigger("submit"):l(o&&o.data?o.data:wc_facebook_commerce_orders.i18n.unknown_error)})).fail((function(){l(wc_facebook_commerce_orders.i18n.unknown_error)}))})),!1}(r);if(o&&!c.data("allow-submit")){var t=n.val();"wc-refunded"===t&&a!==t&&function(o){o.preventDefault(),e("#wc-backbone-modal-dialog .modal-close").trigger("click"),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:wc_facebook_commerce_orders.refund_modal_message,buttons:wc_facebook_commerce_orders.refund_modal_buttons}}),e(document.body).off("wc_backbone_modal_response.facebook_for_commerce").on("wc_backbone_modal_response.facebook_for_commerce",(function(){e("#refund_reason").val(e("#wc_facebook_refund_reason_modal").val()),c.data("allow-submit",!0).submit()}))}(r),"wc-completed"===t&&(r.preventDefault(),d||_?f(!1,d,_):(e("#wc-backbone-modal-dialog .modal-close").trigger("click"),(s||i)&&e(document.body).off("wc_backbone_modal_loaded").on("wc_backbone_modal_loaded",(function(){s&&e("#wc_facebook_carrier").val(s),i&&e("#wc_facebook_tracking_number").val(i)})),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:wc_facebook_commerce_orders.complete_modal_message,buttons:wc_facebook_commerce_orders.complete_modal_buttons}}),e(".facebook-for-woocommerce-modal #btn-ok").off("click.facebook_for_commerce").on("click.facebook_for_commerce",(function(o){o.preventDefault(),o.stopPropagation(),s=e("#wc_facebook_carrier").val(),f(!0,i=e("#wc_facebook_tracking_number").val(),s)}))))}}))}))}});
 
assets/build/admin/product-categories.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '4bedc509a19a74c8c274f145cdaff75a');
 
assets/build/admin/product-categories.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var o={};function t(r){if(o[r])return o[r].exports;var n=o[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,r){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(r,n,function(o){return e[o]}.bind(null,n));return r},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=8)}({8:function(e,o){jQuery(document).ready((function(e){var o=e('form[id="edittag"]'),t=e("#wc_facebook_google_product_category_id"),r=t.val();o.on("submit",(function(n){o.data("allow-submit")||t.val()===r||(n.preventDefault(),e("#wc-backbone-modal-dialog .modal-close").trigger("click"),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:facebook_for_woocommerce_product_categories.default_google_product_category_modal_message,buttons:facebook_for_woocommerce_product_categories.default_google_product_category_modal_buttons}}),e(document.body).off("wc_backbone_modal_response.facebook_for_commerce").on("wc_backbone_modal_response.facebook_for_commerce",(function(){o.data("allow-submit",!0).find(":submit").trigger("click")})))}))}))}});
 
assets/build/admin/product-sets-admin.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '98d555c2e6a0ef6072bdf3f337f9302c');
 
assets/build/admin/product-sets-admin.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}({9:function(e,t){jQuery(document).ready((function(e){jQuery(".select2.wc-facebook").length&&(jQuery(".select2.wc-facebook").select2().addClass("visible").attr("disabled",!1),jQuery(".select2.updating-message").addClass("hidden"),jQuery(document).ajaxSuccess((function(e,t,n){var r=new URLSearchParams(n.data);r.has("action")&&"add-tag"===r.get("action")&&r.has("taxonomy")&&"fb_product_set"===r.get("taxonomy")&&jQuery(".select2.wc-facebook").select2().val(null).trigger("change")})))}))}});
 
assets/build/admin/products-admin.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c40e4d58318863c75d4136c0885d16ea');
 
assets/build/admin/products-admin.js DELETED
@@ -1 +0,0 @@
1
- !function(o){var e={};function t(c){if(e[c])return e[c].exports;var n=e[c]={i:c,l:!1,exports:{}};return o[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=o,t.c=e,t.d=function(o,e,c){t.o(o,e)||Object.defineProperty(o,e,{enumerable:!0,get:c})},t.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},t.t=function(o,e){if(1&e&&(o=t(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var n in o)t.d(c,n,function(e){return o[e]}.bind(null,n));return c},t.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(e,"a",e),e},t.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},t.p="",t(t.s=10)}({10:function(o,e){jQuery(document).ready((function(o){var e=window.pagenow.length?window.pagenow:"";if(window.typenow.length&&window.typenow,"edit-product"===e){var t=!1;o("input#doaction, input#doaction2").on("click",(function(e){if(t)return!0;e.preventDefault();var c=o(this),n=c.prev("select").val();if("facebook_include"===n){var r=[];o.each(o('input[name="post[]"]:checked'),(function(){r.push(parseInt(o(this).val(),10))})),o.post(facebook_for_woocommerce_products_admin.ajax_url,{action:"facebook_for_woocommerce_set_product_sync_bulk_action_prompt",security:facebook_for_woocommerce_products_admin.set_product_sync_bulk_action_prompt_nonce,toggle:n,products:r},(function(e){e&&!e.success?(closeExistingModal(),new o.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:e.data})):(t=!0,c.trigger("click"))}))}else t=!0,c.trigger("click")}))}if("product"===e){function c(o,e){e.find(".enable-if-sync-enabled").prop("disabled",!o)}function n(o,e){o?(e.find("option[value='sync_and_show']").show(),e.prop("original")&&e.val(e.prop("original"))):(e.find("option[value='sync_and_show']").hide(),"sync_and_show"===e.val()&&e.val("sync_and_hide"))}function r(o,e){var t=e.find("#wc_facebook_commerce_enabled"),c=t.prop("original");t.prop("checked",!!o&&c).prop("disabled",!o),t.trigger("change"),t.prop("original",c),e.find("#product-not-ready-notice, #variable-product-not-ready-notice").hide(),s()&&!i()?e.find("#variable-product-not-ready-notice").show():o||e.find("#product-not-ready-notice").show()}function a(){return!!(s()?i():"sync_disabled"!==v.val())&&!!(s()||(o("#_regular_price").val()||o("#fb_product_price").val()))&&!(!o("#_manage_stock").prop("checked")||!o("#_stock").val())}function i(){var e=o(".js-variable-fb-sync-toggle");return 0===e.length?!!facebook_for_woocommerce_products_admin.is_sync_enabled_for_product:!!e.map((function(e,t){return"sync_disabled"!==o(t).val()?t:null})).length}function s(){var e=o("select#product-type").val();return!(!e||!e.match(/variable/))}function d(o){o.attr("data-original-value",o.val())}function l(e){return e.map((function(e,t){var c=o(t),n=c.val();return"sync_disabled"===n&&n!==c.attr("data-original-value")})).toArray().indexOf(!0)>-1}function _(e){return v===e?o("input#post_ID").val():e.closest(".woocommerce_variation").find("input[name^=variable_post_id]").val()}function u(e){closeExistingModal(),m=e,g=_(e),new o.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:facebook_for_woocommerce_products_admin.product_removed_from_sync_confirm_modal_message,buttons:facebook_for_woocommerce_products_admin.product_removed_from_sync_confirm_modal_buttons}})}function f(){o(facebook_for_woocommerce_products_admin.product_removed_from_sync_field_id).val(b.join(","))}function p(o){b=b.filter((function(e){return e!==o})),f()}var m=null,g=null,b=[];o(document.body).on("click","button.button-product-removed-from-sync-delete",(function(){g&&(closeExistingModal(),b.push(g),f())})).on("click","button.button-product-removed-from-sync-cancel",(function(){var o;closeExistingModal(),m&&((o=m).val(o.attr("data-original-value")),m=null),f()})),o("#facebook_options #wc_facebook_commerce_enabled").on("change",(function(){var e=o(this).prop("checked");e?o(".wc_facebook_commerce_fields").show():o(".wc_facebook_commerce_fields").hide(),o(".product_attributes").find(".woocommerce_attribute").length?o(".show_if_has_attributes").show():o(".show_if_has_attributes").hide(),o(this).prop("original",e)})).trigger("change");var v=o("#wc_facebook_sync_mode"),h=v.closest(".woocommerce_options_panel");d(v),v.on("change",(function(){var o,e,t="sync_disabled"!==v.val();c(t,h),o=t,e=h.find(".wc-facebook-commerce-options-group"),o?e.show():e.hide(),t&&p(_(v)),v.prop("original",v.val()),l(v)&&u(v)})).trigger("change"),o("#_virtual").on("change",(function(){n(!o(this).prop("checked"),v)})).trigger("change");var w=o("#woocommerce-product-data");w.on("change","#_regular_price, #_manage_stock, #_stock, #wc_facebook_sync_mode, #fb_product_price",(function(e){setTimeout((function(){r(a(),o("#facebook_options"))}),1)})),o(".woocommerce_variations").on("change",".js-variable-fb-sync-toggle",(function(){var e=o(this),t="sync_disabled"!==e.val();c(t,e.closest(".wc-metabox-content")),r(a(),o("#facebook_options")),t&&p(_(e)),e.prop("original",e.val()),l(e)&&u(e)})),w.on("woocommerce_variations_loaded",(function(){w.find(".js-variable-fb-sync-toggle").each((function(e,t){var n=o(t);c("sync_disabled"!==n.val(),n.closest(".wc-metabox-content")),n.prop("original",n.val()),d(n)})),o(".variable_is_virtual").on("change",(function(){var e=o(this).closest(".wc-metabox-content").find(".js-variable-fb-sync-toggle");n(!o(this).prop("checked"),e)})),r(a(),o("#facebook_options"))})),w.on("change",".js-fb-product-image-source",(function(){var e=o(this).closest(".woocommerce_options_panel, .wc-metabox-content"),t=o(this).val();e.find(".product-image-source-field").closest(".form-field").hide(),e.find(".show-if-product-image-source-".concat(t)).closest(".form-field").show()})),o(".js-fb-product-image-source:checked:visible").trigger("change"),w.on("woocommerce_variations_loaded",(function(){o(".js-variable-fb-sync-toggle:visible").trigger("change"),o(".js-fb-product-image-source:checked:visible").trigger("change"),o(".variable_is_virtual:visible").trigger("change")})),o("#facebook_options").on("click","#product-not-ready-notice-open-modal",(function(e){e.preventDefault(),closeExistingModal(),new o.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:facebook_for_woocommerce_products_admin.product_not_ready_modal_message,buttons:facebook_for_woocommerce_products_admin.product_not_ready_modal_buttons}})})),r(a(),h);var y=!1;o('form#post input[type="submit"]').on("click",(function(e){if(o("#wc_facebook_commerce_enabled").prop("checked")&&a()&&o(".wc_facebook_commerce_fields .wc-facebook-google-product-category-select").map((function(e,t){return o(t).val()?o(t).val():null})).length<2)return e.preventDefault(),alert(facebook_for_woocommerce_products_admin.i18n.missing_google_product_category_message),!1;if(y)return!0;e.preventDefault();var t=o(this),c=parseInt(o("input#post_ID").val(),10),n=[],r=o('textarea[name="tax_input[product_tag]"]').length?o('textarea[name="tax_input[product_tag]"]').val().split(","):[],s="sync_disabled"!==v.val(),d=i();o('#taxonomy-product_cat input[name="tax_input[product_cat][]"]:checked').each((function(){n.push(parseInt(o(this).val(),10))})),o('#taxonomy-product_tag input[name="tax_input[product_tag][]"]:checked').each((function(){r.push(parseInt(o(this).val(),10))})),c>0?o.post(facebook_for_woocommerce_products_admin.ajax_url,{action:"facebook_for_woocommerce_set_product_sync_prompt",security:facebook_for_woocommerce_products_admin.set_product_sync_prompt_nonce,sync_enabled:s?"enabled":"disabled",var_sync_enabled:d?"enabled":"disabled",product:c,categories:n,tags:r},(function(e){e&&!e.success&&s?(closeExistingModal(),new o.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:e.data})):(y=!0,t.trigger("click"))})):(y=!0,t.trigger("click"))}))}}))}});
 
assets/build/admin/settings-commerce.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '9513715b2a35d2eda9c958baf192798e');
 
assets/build/admin/settings-commerce.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var o={};function t(r){if(o[r])return o[r].exports;var c=o[r]={i:r,l:!1,exports:{}};return e[r].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.m=e,t.c=o,t.d=function(e,o,r){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var c in e)t.d(r,c,function(o){return e[o]}.bind(null,c));return r},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=11)}({11:function(e,o){jQuery(document).ready((function(e){var o=e("form.wc-facebook-settings"),t=e("#wc_facebook_google_product_category_id"),r=t.val();o.on("submit",(function(c){o.data("allow-submit")||t.val()===r||(c.preventDefault(),e("#wc-backbone-modal-dialog .modal-close").trigger("click"),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:{message:t.val()?facebook_for_woocommerce_settings_commerce.default_google_product_category_modal_message:facebook_for_woocommerce_settings_commerce.default_google_product_category_modal_message_empty,buttons:facebook_for_woocommerce_settings_commerce.default_google_product_category_modal_buttons}}),e(document.body).off("wc_backbone_modal_response.facebook_for_commerce").on("wc_backbone_modal_response.facebook_for_commerce",(function(){o.data("allow-submit",!0).find(":submit").trigger("click")})))})),e(".woocommerce-help-tip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}))}});
 
assets/build/admin/settings-sync.asset.php DELETED
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ca852c21b4cd9d57cc0fce8606957fc3');
 
assets/build/admin/settings-sync.js DELETED
@@ -1 +0,0 @@
1
- !function(e){var o={};function c(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.m=e,c.c=o,c.d=function(e,o,n){c.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,o){if(1&o&&(e=c(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var t in e)c.d(n,t,function(o){return e[o]}.bind(null,t));return n},c.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(o,"a",o),o},c.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},c.p="",c(c.s=12)}({12:function(e,o){jQuery(document).ready((function(e){function o(o){e(".product-sync-field").each((function(){var c=e(this);e(this).hasClass("wc-enhanced-select")&&(c=e(this).next("span.select2-container")),o?c.css("pointer-events","all").css("opacity","1.0"):c.css("pointer-events","none").css("opacity","0.4")}))}e(".woocommerce-help-tip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200}),e("form.wc-facebook-settings").hasClass("disconnected")&&o(!1),e("input#wc_facebook_enable_product_sync").on("change",(function(c){e("form.wc-facebook-settings").hasClass("disconnected")?e(this).css("pointer-events","none").css("opacity","0.4"):o(e(this).is(":checked"))})).trigger("change");var c=!1;function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t(e),window.syncStatusInterval||(window.syncStatusInterval=setInterval(r,1e4))}function t(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(!1),e('input#wc_facebook_enable_product_sync, input[name="save_product_sync_settings"]').css("pointer-events","none").css("opacity","0.4");var n=facebook_for_woocommerce_settings_sync.i18n.sync_in_progress;c&&(n=(n+=c>1?facebook_for_woocommerce_settings_sync.i18n.sync_remaining_items_plural:facebook_for_woocommerce_settings_sync.i18n.sync_remaining_items_singular).replace("{count}",c)),e("#sync_progress").show().html(n).css("color","inherit"),facebook_for_woocommerce_settings_sync.sync_in_progress=!0}function s(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";facebook_for_woocommerce_settings_sync.sync_in_progress=!1,clearInterval(window.syncStatusInterval),window.syncStatusInterval=null,o(!0),e('input#wc_facebook_enable_product_sync, input[name="save_product_sync_settings"]').css("pointer-events","all").css("opacity","1"),c?e("#sync_progress").show().html(c).css("color","#DC3232"):e("#sync_progress").hide()}function r(){facebook_for_woocommerce_settings_sync.sync_in_progress&&e.post(facebook_for_woocommerce_settings_sync.ajax_url,{action:"wc_facebook_get_sync_status",nonce:facebook_for_woocommerce_settings_sync.sync_status_nonce},(function(e){console.log(e),e.success&&(e.data>0?n(e.data):s())}))}e('input[name="save_product_sync_settings"]').on("click",(function(o){if(c)return!0;o.preventDefault();var n,t,s,r,_=e(this),i=(s=e("#wc_facebook_excluded_product_category_ids").val(),r=[],window.facebook_for_woocommerce_settings_sync&&window.facebook_for_woocommerce_settings_sync.excluded_category_ids&&(r=window.facebook_for_woocommerce_settings_sync.excluded_category_ids),e(s).not(r).get()),a=(n=e("#wc_facebook_excluded_product_tag_ids").val(),t=[],window.facebook_for_woocommerce_settings_sync&&window.facebook_for_woocommerce_settings_sync.excluded_tag_ids&&(t=window.facebook_for_woocommerce_settings_sync.excluded_tag_ids),e(n).not(t).get());i.length>0||a.length>0?e.post(facebook_for_woocommerce_settings_sync.ajax_url,{action:"facebook_for_woocommerce_set_excluded_terms_prompt",security:facebook_for_woocommerce_settings_sync.set_excluded_terms_prompt_nonce,categories:i,tags:a},(function(o){o&&!o.success?(e("#wc-backbone-modal-dialog .modal-close").trigger("click"),new e.WCBackboneModal.View({target:"facebook-for-woocommerce-modal",string:o.data}),e(".facebook-for-woocommerce-confirm-settings-change").on("click",(function(){blockModal(),c=!0,_.trigger("click")}))):(c=!0,_.trigger("click"))})):(c=!0,_.trigger("click"))})),facebook_for_woocommerce_settings_sync.sync_in_progress&&n(),e("#woocommerce-facebook-settings-sync-products").click((function(o){if(o.preventDefault(),confirm(facebook_for_woocommerce_settings_sync.i18n.confirm_sync)){t();var c=Date.now();e.post(facebook_for_woocommerce_settings_sync.ajax_url,{action:"wc_facebook_sync_products",nonce:facebook_for_woocommerce_settings_sync.sync_products_nonce},(function(e){if(console.log(e),e.success)setTimeout(r,Math.max(0,1e4-(Date.now()-c)));else{var o=facebook_for_woocommerce_settings_sync.i18n.general_error;e.data&&e.data.length>0&&(o=e.data),s(o)}})).fail((function(){s(facebook_for_woocommerce_settings_sync.i18n.general_error)}))}}))}))}});
 
changelog.txt CHANGED
@@ -1,7 +1,10 @@
1
  *** Facebook for WooCommerce Changelog ***
2
 
3
- 2021-06-28 - version 2.6.1
4
- * Dev: Add `facebook_for_woocommerce_allow_full_batch_api_sync` filter to allow opt-out full batch API sync, to avoid possible performance issues on large sites
 
 
 
5
 
6
  2021-06-10 - version 2.6.0
7
  * Fix – Add cron heartbeat and use to offload feed generation from init / admin_init (performance) #1953
1
  *** Facebook for WooCommerce Changelog ***
2
 
3
+ 2021.08.31 - version 2.6.2
4
+ * Fix - Update the Facebook Marketing API to version 11
5
+
6
+ 2021-06-28 - version 2.6.1
7
+ * Dev - Add `facebook_for_woocommerce_allow_full_batch_api_sync` filter to allow opt-out full batch API sync, to avoid possible performance issues on large sites
8
 
9
  2021-06-10 - version 2.6.0
10
  * Fix – Add cron heartbeat and use to offload feed generation from init / admin_init (performance) #1953
class-wc-facebookcommerce.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
facebook-commerce-events-tracker.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
@@ -889,8 +890,9 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
889
 
890
  foreach ( $order->get_items() as $item ) {
891
 
892
- if ( $product = isset( $item['product_id'] ) ? wc_get_product( $item['product_id'] ) : null ) {
893
-
 
894
  $product_ids[] = \WC_Facebookcommerce_Utils::get_fb_content_ids( $product );
895
  $product_names[] = $product->get_name();
896
 
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
890
 
891
  foreach ( $order->get_items() as $item ) {
892
 
893
+ $product = $item->get_product();
894
+
895
+ if ( $product ) {
896
  $product_ids[] = \WC_Facebookcommerce_Utils::get_fb_content_ids( $product );
897
  $product_names[] = $product->get_name();
898
 
facebook-commerce-messenger-chat.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
facebook-commerce-pixel-event.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
facebook-commerce.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
facebook-config-warmer.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
facebook-for-woocommerce.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
@@ -10,10 +11,10 @@
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: 2.6.1
14
  * Text Domain: facebook-for-woocommerce
15
  * WC requires at least: 3.5.0
16
- * WC tested up to: 5.7.0
17
  * Requires PHP: 7.0
18
  *
19
  * @package FacebookCommerce
@@ -31,7 +32,7 @@ class WC_Facebook_Loader {
31
  /**
32
  * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease.
33
  */
34
- const PLUGIN_VERSION = '2.6.1'; // WRCS: DEFINED_VERSION.
35
 
36
  // Minimum PHP version required by this plugin.
37
  const MINIMUM_PHP_VERSION = '7.0.0';
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
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.2-dev
15
  * Text Domain: facebook-for-woocommerce
16
  * WC requires at least: 3.5.0
17
+ * WC tested up to: 5.6.0
18
  * Requires PHP: 7.0
19
  *
20
  * @package FacebookCommerce
32
  /**
33
  * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease.
34
  */
35
+ const PLUGIN_VERSION = '2.6.2-dev'; // WRCS: DEFINED_VERSION.
36
 
37
  // Minimum PHP version required by this plugin.
38
  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.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2021-06-28 02:51:02+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
- #: class-wc-facebookcommerce.php:261
17
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
18
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
19
  msgid ""
@@ -21,7 +21,7 @@ msgid ""
21
  "Facebook for WooCommerce connection. Please %3$sclick here%4$s to reconnect!"
22
  msgstr ""
23
 
24
- #: class-wc-facebookcommerce.php:282
25
  #. translators: Placeholders %1$s - opening link HTML tag, %2$s - closing link
26
  #. HTML tag
27
  msgid ""
@@ -29,7 +29,7 @@ msgid ""
29
  "under %1$sWooCommerce > Facebook%2$s."
30
  msgstr ""
31
 
32
- #: class-wc-facebookcommerce.php:302
33
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
34
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
35
  msgid ""
@@ -37,7 +37,7 @@ msgid ""
37
  "configuration, %3$scomplete the setup steps%4$s."
38
  msgstr ""
39
 
40
- #: class-wc-facebookcommerce.php:334
41
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
42
  #. <a> tag, %4$s - </a> tag
43
  msgid ""
@@ -46,7 +46,7 @@ msgid ""
46
  "Connection%4$s area."
47
  msgstr ""
48
 
49
- #: class-wc-facebookcommerce.php:357
50
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
51
  #. <a> tag, %4$s - </a> tag
52
  msgid ""
@@ -55,51 +55,51 @@ msgid ""
55
  "products."
56
  msgstr ""
57
 
58
- #: class-wc-facebookcommerce.php:383
59
  #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
60
  #. </a> HTML link tag
61
  msgid "Heads up! The Facebook menu is now located under the %1$sMarketing%2$s menu."
62
  msgstr ""
63
 
64
- #: class-wc-facebookcommerce.php:455
65
  msgid "FB Product Sets"
66
  msgstr ""
67
 
68
- #: class-wc-facebookcommerce.php:456
69
  msgid "FB Product Set"
70
  msgstr ""
71
 
72
- #: class-wc-facebookcommerce.php:464
73
  #. translators: Edit item label
74
  msgid "Edit %s"
75
  msgstr ""
76
 
77
- #: class-wc-facebookcommerce.php:466
78
  #. translators: Add new label
79
  msgid "Add new %s"
80
  msgstr ""
81
 
82
- #: class-wc-facebookcommerce.php:469
83
  #. translators: No items found text
84
  msgid "No %s found."
85
  msgstr ""
86
 
87
- #: class-wc-facebookcommerce.php:471
88
  #. translators: Search label
89
  msgid "Search %s."
90
  msgstr ""
91
 
92
- #: class-wc-facebookcommerce.php:473
93
  #. translators: Text label
94
  msgid "Separate %s with commas"
95
  msgstr ""
96
 
97
- #: class-wc-facebookcommerce.php:475
98
  #. translators: Text label
99
  msgid "Choose from the most used %s"
100
  msgstr ""
101
 
102
- #: class-wc-facebookcommerce.php:591
103
  msgid "Cannot create the API instance because the access token is missing."
104
  msgstr ""
105
 
@@ -107,69 +107,69 @@ msgstr ""
107
  msgid "Facebook for WooCommerce"
108
  msgstr ""
109
 
110
- #: facebook-commerce.php:229
111
  msgid "Facebook Commerce and Dynamic Ads (Pixel) Extension"
112
  msgstr ""
113
 
114
- #: facebook-commerce.php:641
115
  msgid "Facebook ID:"
116
  msgstr ""
117
 
118
- #: facebook-commerce.php:649
119
  msgid "Variant IDs:"
120
  msgstr ""
121
 
122
- #: facebook-commerce.php:667
123
  msgid "Reset Facebook metadata"
124
  msgstr ""
125
 
126
- #: facebook-commerce.php:672
127
  msgid "Delete product(s) on Facebook"
128
  msgstr ""
129
 
130
- #: facebook-commerce.php:680
131
  msgid "This product is not yet synced to Facebook."
132
  msgstr ""
133
 
134
- #: facebook-commerce.php:1507
135
  msgid "Nothing to update for product group for %1$s"
136
  msgstr ""
137
 
138
- #: facebook-commerce.php:1901
139
  #. translators: Placeholders %1$s - original error message from Facebook API
140
  msgid "There was an issue connecting to the Facebook API: %1$s"
141
  msgstr ""
142
 
143
- #: facebook-commerce.php:2237
144
  msgid "Your connection has expired."
145
  msgstr ""
146
 
147
- #: facebook-commerce.php:2237
148
  msgid ""
149
  "Please click Manage connection > Advanced Options > Update Token to refresh "
150
  "your connection to Facebook."
151
  msgstr ""
152
 
153
- #: facebook-commerce.php:2244
154
  #. translators: Placeholders %s - error message
155
  msgid "There was an error trying to sync the products to Facebook. %s"
156
  msgstr ""
157
 
158
- #: facebook-commerce.php:2267 facebook-commerce.php:2440
159
  msgid "Product sync is disabled."
160
  msgstr ""
161
 
162
- #: facebook-commerce.php:2274 facebook-commerce.php:2447
163
  msgid "The plugin is not configured or the Catalog ID is missing."
164
  msgstr ""
165
 
166
- #: facebook-commerce.php:2297
167
  msgid ""
168
  "A product sync is in progress. Please wait until the sync finishes before "
169
  "starting a new one."
170
  msgstr ""
171
 
172
- #: facebook-commerce.php:2309 facebook-commerce.php:2461
173
  msgid ""
174
  "We've detected that your Facebook Product Catalog is no longer valid. This "
175
  "may happen if it was deleted, but could also be a temporary error. If the "
@@ -177,86 +177,86 @@ msgid ""
177
  "and setup the plugin again."
178
  msgstr ""
179
 
180
- #: facebook-commerce.php:2485
181
  msgid "We couldn't create the feed or upload the product information."
182
  msgstr ""
183
 
184
- #: facebook-commerce.php:2953
185
  msgid "Hi! We're here to answer any questions you may have."
186
  msgstr ""
187
 
188
- #: facebook-commerce.php:3320
189
  msgid "Facebook for WooCommerce error:"
190
  msgstr ""
191
 
192
- #: facebook-commerce.php:3402
193
  msgid ""
194
  "There was an error trying to retrieve information about the Facebook page: "
195
  "%s"
196
  msgstr ""
197
 
198
- #: facebook-commerce.php:3453
199
  msgid "Get started with Messenger Customer Chat"
200
  msgstr ""
201
 
202
- #: facebook-commerce.php:3454
203
  msgid "Get started with Instagram Shopping"
204
  msgstr ""
205
 
206
- #: facebook-commerce.php:3689
207
  #. translators: Placeholders %1$s - original error message from Facebook API
208
  msgid "There was an issue connecting to the Facebook API: %s"
209
  msgstr ""
210
 
211
- #: includes/AJAX.php:81
212
  msgid "Invalid nonce."
213
  msgstr ""
214
 
215
- #: includes/AJAX.php:88
216
  msgid "Order ID is required."
217
  msgstr ""
218
 
219
- #: includes/AJAX.php:92
220
  msgid "Cancel reason is required."
221
  msgstr ""
222
 
223
- #: includes/AJAX.php:98
224
  msgid "A valid Order ID is required."
225
  msgstr ""
226
 
227
- #: includes/AJAX.php:181
228
  msgid "Order ID is required"
229
  msgstr ""
230
 
231
- #: includes/AJAX.php:185
232
  msgid "Tracking number is required"
233
  msgstr ""
234
 
235
- #: includes/AJAX.php:189
236
  msgid "Carrier code is required"
237
  msgstr ""
238
 
239
- #: includes/AJAX.php:195
240
  msgid "Order not found"
241
  msgstr ""
242
 
243
- #: includes/AJAX.php:219
244
  msgid ""
245
  "Full product sync disabled by filter hook "
246
  "`facebook_for_woocommerce_allow_full_batch_api_sync`."
247
  msgstr ""
248
 
249
- #: includes/AJAX.php:342 includes/AJAX.php:410
250
  msgid "Go to Settings"
251
  msgstr ""
252
 
253
- #: includes/AJAX.php:347 includes/AJAX.php:415 includes/AJAX.php:481
254
- #: includes/Admin/Product_Categories.php:118
255
- #: includes/Admin/Settings_Screens/Product_Sync.php:157 includes/Admin.php:391
256
  msgid "Cancel"
257
  msgstr ""
258
 
259
- #: includes/AJAX.php:356
260
  #. translators: Placeholder %s - <br/> tag
261
  msgid ""
262
  "This product belongs to a category or tag that is excluded from the "
@@ -265,7 +265,7 @@ msgid ""
265
  "or click Cancel and update the product's category / tag assignments."
266
  msgstr ""
267
 
268
- #: includes/AJAX.php:422
269
  msgid ""
270
  "One or more of the selected products belongs to a category or tag that is "
271
  "excluded from the Facebook catalog sync. To sync these products to "
@@ -273,11 +273,11 @@ msgid ""
273
  "settings."
274
  msgstr ""
275
 
276
- #: includes/AJAX.php:475
277
  msgid "Exclude Products"
278
  msgstr ""
279
 
280
- #: includes/AJAX.php:490
281
  #. translators: Placeholder %s - <br/> tags
282
  msgid ""
283
  "The categories and/or tags that you have selected to exclude from sync "
@@ -286,95 +286,95 @@ msgid ""
286
  "category / tag exclusion settings, click Cancel."
287
  msgstr ""
288
 
289
- #: includes/Admin/Abstract_Settings_Screen.php:72
290
  msgid "Save changes"
291
  msgstr ""
292
 
293
- #: includes/Admin/Enhanced_Catalog_Attribute_Fields.php:103
294
  msgid "Show advanced options"
295
  msgstr ""
296
 
297
- #: includes/Admin/Product_Categories.php:99
298
- #: includes/Admin/Settings_Screens/Product_Sync.php:120
299
  msgid ""
300
  "Products and categories that inherit this global setting (i.e. they do not "
301
  "have a specific Google product category set) will use the new default "
302
  "immediately. Are you sure you want to proceed?"
303
  msgstr ""
304
 
305
- #: includes/Admin/Product_Categories.php:122
306
- #: includes/Admin/Settings_Screens/Product_Sync.php:161
307
  msgid "Update default Google product category"
308
  msgstr ""
309
 
310
- #: includes/Admin/Product_Categories.php:163
311
  msgid ""
312
  "Facebook catalogs now support category specific fields, to make best use of "
313
  "them you need to select a category. WooCommerce uses the google taxonomy as "
314
  "it is the most widely accepted form of categorisation."
315
  msgstr ""
316
 
317
- #: includes/Admin/Product_Categories.php:214
318
  msgid ""
319
  "Choose a default Google product category for products in this category. "
320
  "Products need at least two category levels defined for tax to be correctly "
321
  "applied."
322
  msgstr ""
323
 
324
- #: includes/Admin/Product_Categories.php:232
325
- #: includes/Admin/Settings_Screens/Product_Sync.php:337
326
  msgid "Default Google product category"
327
  msgstr ""
328
 
329
- #: includes/Admin/Product_Categories.php:357
330
  msgid "Select default values for enhanced attributes within this category"
331
  msgstr ""
332
 
333
- #: includes/Admin/Product_Categories.php:375 includes/Admin/Products.php:118
334
  msgid "Category Specific Attributes"
335
  msgstr ""
336
 
337
- #: includes/Admin/Product_Sets.php:149
338
  msgid "WC Product Categories"
339
  msgstr ""
340
 
341
- #: includes/Admin/Product_Sets.php:181
342
  msgid "Map FB Product Set to WC Product Categories"
343
  msgstr ""
344
 
345
- #: includes/Admin/Products.php:100
346
  msgid "Select values for enhanced attributes for this product"
347
  msgstr ""
348
 
349
- #: includes/Admin/Products.php:139
350
  msgid "Google product category"
351
  msgstr ""
352
 
353
- #: includes/Admin/Products.php:140
354
  msgid ""
355
  "Choose the Google product category and (optionally) sub-categories "
356
  "associated with this product."
357
  msgstr ""
358
 
359
- #: includes/Admin/Products.php:213
360
  msgid "Sell on Instagram"
361
  msgstr ""
362
 
363
- #: includes/Admin/Products.php:215
364
  msgid ""
365
  "Enable to sell this product on Instagram. Products that are hidden in the "
366
  "Facebook catalog can be synced, but won’t be available for purchase."
367
  msgstr ""
368
 
369
- #: includes/Admin/Products.php:225
370
  msgid "This product does not meet the requirements to sell on Instagram."
371
  msgstr ""
372
 
373
- #: includes/Admin/Products.php:226
374
  msgid "Click here to learn more."
375
  msgstr ""
376
 
377
- #: includes/Admin/Products.php:235
378
  #. translators: Placeholders %1$s - strong opening tag, %2$s - strong closing
379
  #. tag
380
  msgid ""
@@ -387,59 +387,59 @@ msgstr ""
387
  msgid "Facebook"
388
  msgstr ""
389
 
390
- #: includes/Admin/Settings.php:120
391
- #: includes/Admin/Settings_Screens/Connection.php:34
392
  #: includes/Admin/Settings_Screens/Connection.php:35
 
393
  msgid "Connection"
394
  msgstr ""
395
 
396
- #: includes/Admin/Settings.php:123
397
- #: includes/Admin/Settings_Screens/Messenger.php:40
398
  #: includes/Admin/Settings_Screens/Messenger.php:41
399
- #: includes/Admin/Settings_Screens/Messenger.php:147
 
400
  msgid "Messenger"
401
  msgstr ""
402
 
403
- #: includes/Admin/Settings.php:126
404
- #: includes/Admin/Settings_Screens/Product_Sync.php:42
405
  #: includes/Admin/Settings_Screens/Product_Sync.php:43
406
- #: includes/Admin/Settings_Screens/Product_Sync.php:180
407
- #: includes/Admin/Settings_Screens/Product_Sync.php:283
 
408
  msgid "Product sync"
409
  msgstr ""
410
 
411
- #: includes/Admin/Settings.php:129
412
- #: includes/Admin/Settings_Screens/Advertise.php:37
413
  #: includes/Admin/Settings_Screens/Advertise.php:38
 
414
  msgid "Advertise"
415
  msgstr ""
416
 
417
- #: includes/Admin/Settings.php:215
418
  msgid "You do not have permission to save these settings."
419
  msgstr ""
420
 
421
- #: includes/Admin/Settings.php:224
422
  msgid "Your settings have been saved."
423
  msgstr ""
424
 
425
- #: includes/Admin/Settings.php:231
426
  #. translators: Placeholders: %s - user-friendly error message
427
  msgid "Your settings could not be saved. %s"
428
  msgstr ""
429
 
430
- #: includes/Admin/Settings_Screens/Advertise.php:202
431
  #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
432
  #. </a> HTML link tag
433
  msgid "Please %1$sconnect your store%2$s to Facebook to create ads."
434
  msgstr ""
435
 
436
- #: includes/Admin/Settings_Screens/Advertise.php:220
437
  msgid ""
438
  "If you are connected to Facebook but cannot display ads, please contact "
439
  "Facebook support."
440
  msgstr ""
441
 
442
- #: includes/Admin/Settings_Screens/Connection.php:57
443
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
444
  #. <a> tag, %4$s - </a> tag, %5$s - <a> tag, %6$s - </a> tag
445
  msgid ""
@@ -448,141 +448,141 @@ msgid ""
448
  "touch with our support team%6$s for assistance."
449
  msgstr ""
450
 
451
- #: includes/Admin/Settings_Screens/Connection.php:130
452
  msgid "Page"
453
  msgstr ""
454
 
455
- #: includes/Admin/Settings_Screens/Connection.php:134
456
  msgid "Pixel"
457
  msgstr ""
458
 
459
- #: includes/Admin/Settings_Screens/Connection.php:138
460
  msgid "Catalog"
461
  msgstr ""
462
 
463
- #: includes/Admin/Settings_Screens/Connection.php:143
464
  msgid "Business Manager account"
465
  msgstr ""
466
 
467
- #: includes/Admin/Settings_Screens/Connection.php:147
468
  msgid "Ad Manager account"
469
  msgstr ""
470
 
471
- #: includes/Admin/Settings_Screens/Connection.php:151
472
  msgid "Instagram Business ID"
473
  msgstr ""
474
 
475
- #: includes/Admin/Settings_Screens/Connection.php:155
476
  msgid "Commerce Merchant Settings ID"
477
  msgstr ""
478
 
479
- #: includes/Admin/Settings_Screens/Connection.php:254
480
  msgid "Reach the Right People and Sell More Online"
481
  msgstr ""
482
 
483
- #: includes/Admin/Settings_Screens/Connection.php:256
484
  msgid "Grow your business on Facebook"
485
  msgstr ""
486
 
487
- #: includes/Admin/Settings_Screens/Connection.php:259
488
  msgid "Use this WooCommerce and Facebook integration to:"
489
  msgstr ""
490
 
491
- #: includes/Admin/Settings_Screens/Connection.php:261
492
  msgid "Create an ad in a few steps"
493
  msgstr ""
494
 
495
- #: includes/Admin/Settings_Screens/Connection.php:262
496
  msgid "Use built-in best practices for online sales"
497
  msgstr ""
498
 
499
- #: includes/Admin/Settings_Screens/Connection.php:263
500
  msgid "Get reporting on sales and revenue"
501
  msgstr ""
502
 
503
- #: includes/Admin/Settings_Screens/Connection.php:286
504
  msgid "Manage Connection"
505
  msgstr ""
506
 
507
- #: includes/Admin/Settings_Screens/Connection.php:290
508
  msgid "Disconnect"
509
  msgstr ""
510
 
511
- #: includes/Admin/Settings_Screens/Connection.php:296
512
  msgid "Get Started"
513
  msgstr ""
514
 
515
- #: includes/Admin/Settings_Screens/Connection.php:321
516
  msgid "Debug"
517
  msgstr ""
518
 
519
- #: includes/Admin/Settings_Screens/Connection.php:327
520
  msgid "Enable debug mode"
521
  msgstr ""
522
 
523
- #: includes/Admin/Settings_Screens/Connection.php:329
524
  msgid "Log plugin events for debugging"
525
  msgstr ""
526
 
527
- #: includes/Admin/Settings_Screens/Connection.php:330
528
  msgid "Only enable this if you are experiencing problems with the plugin."
529
  msgstr ""
530
 
531
- #: includes/Admin/Settings_Screens/Messenger.php:121
532
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
533
  msgid "%1$sClick here%2$s to manage your Messenger greeting and colors."
534
  msgstr ""
535
 
536
- #: includes/Admin/Settings_Screens/Messenger.php:153
537
  msgid "Enable Messenger"
538
  msgstr ""
539
 
540
- #: includes/Admin/Settings_Screens/Messenger.php:155
541
  msgid "Enable and customize Facebook Messenger on your store"
542
  msgstr ""
543
 
544
- #: includes/Admin/Settings_Screens/Messenger.php:165
545
  msgid "Language"
546
  msgstr ""
547
 
548
- #: includes/Admin/Settings_Screens/Messenger.php:170
549
  msgid "Greeting & Colors"
550
  msgstr ""
551
 
552
- #: includes/Admin/Settings_Screens/Messenger.php:192
553
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
554
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage Facebook Messenger."
555
  msgstr ""
556
 
557
- #: includes/Admin/Settings_Screens/Messenger.php:245
558
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
559
  msgid ""
560
  "There was an error communicating with the Facebook Business Extension. "
561
  "%1$sClick here%2$s to manage your Messenger settings."
562
  msgstr ""
563
 
564
- #: includes/Admin/Settings_Screens/Messenger.php:317
565
  msgid "Please try again."
566
  msgstr ""
567
 
568
- #: includes/Admin/Settings_Screens/Product_Sets.php:33
569
  #: includes/Admin/Settings_Screens/Product_Sets.php:34
 
570
  msgid "Product sets"
571
  msgstr ""
572
 
573
- #: includes/Admin/Settings_Screens/Product_Sync.php:81
574
  #. translators: Placeholders: {count} number of remaining items
575
  msgid "{count} item remaining."
576
  msgid_plural "{count} items remaining."
577
  msgstr[0] ""
578
  msgstr[1] ""
579
 
580
- #: includes/Admin/Settings_Screens/Product_Sync.php:96
581
  #. translators: Placeholders %s - html code for a spinner icon
582
  msgid "Your products will now be resynced to Facebook, this may take some time."
583
  msgstr ""
584
 
585
- #: includes/Admin/Settings_Screens/Product_Sync.php:97
586
  msgid ""
587
  "Facebook for WooCommerce automatically syncs your products on "
588
  "create/update. Are you sure you want to force product resync?\n"
@@ -592,21 +592,21 @@ msgid ""
592
  "did not sync."
593
  msgstr ""
594
 
595
- #: includes/Admin/Settings_Screens/Product_Sync.php:98
596
  msgid "Your products are syncing - you may safely leave this page %s"
597
  msgstr ""
598
 
599
- #: includes/Admin/Settings_Screens/Product_Sync.php:101
600
  msgid "There was an error trying to sync the products to Facebook."
601
  msgstr ""
602
 
603
- #: includes/Admin/Settings_Screens/Product_Sync.php:102
604
  msgid ""
605
  "Something went wrong while uploading the product information, please try "
606
  "again."
607
  msgstr ""
608
 
609
- #: includes/Admin/Settings_Screens/Product_Sync.php:135
610
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
611
  msgid ""
612
  "Products and categories that inherit this global setting (they do not have "
@@ -616,105 +616,105 @@ msgid ""
616
  "Are you sure you want to proceed?"
617
  msgstr ""
618
 
619
- #: includes/Admin/Settings_Screens/Product_Sync.php:188
620
  msgid "Sync products"
621
  msgstr ""
622
 
623
- #: includes/Admin/Settings_Screens/Product_Sync.php:288
624
  msgid "Enable product sync"
625
  msgstr ""
626
 
627
- #: includes/Admin/Settings_Screens/Product_Sync.php:296
628
  msgid "Exclude categories from sync"
629
  msgstr ""
630
 
631
- #: includes/Admin/Settings_Screens/Product_Sync.php:300
632
  msgid "Products in one or more of these categories will not sync to Facebook."
633
  msgstr ""
634
 
635
- #: includes/Admin/Settings_Screens/Product_Sync.php:304
636
  msgid "Search for a product category&hellip;"
637
  msgstr ""
638
 
639
- #: includes/Admin/Settings_Screens/Product_Sync.php:310
640
  msgid "Exclude tags from sync"
641
  msgstr ""
642
 
643
- #: includes/Admin/Settings_Screens/Product_Sync.php:314
644
  msgid "Products with one or more of these tags will not sync to Facebook."
645
  msgstr ""
646
 
647
- #: includes/Admin/Settings_Screens/Product_Sync.php:318
648
  msgid "Search for a product tag&hellip;"
649
  msgstr ""
650
 
651
- #: includes/Admin/Settings_Screens/Product_Sync.php:324
652
  msgid "Product description sync"
653
  msgstr ""
654
 
655
- #: includes/Admin/Settings_Screens/Product_Sync.php:327
656
  msgid "Choose which product description to display in the Facebook catalog."
657
  msgstr ""
658
 
659
- #: includes/Admin/Settings_Screens/Product_Sync.php:330
660
  msgid "Standard description"
661
  msgstr ""
662
 
663
- #: includes/Admin/Settings_Screens/Product_Sync.php:331
664
  msgid "Short description"
665
  msgstr ""
666
 
667
- #: includes/Admin/Settings_Screens/Product_Sync.php:338
668
  msgid ""
669
  "Choose a default Google product category for your products. Defaults can "
670
  "also be set for product categories. Products need at least two category "
671
  "levels defined for tax to be correctly applied."
672
  msgstr ""
673
 
674
- #: includes/Admin/Settings_Screens/Product_Sync.php:384
675
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
676
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage product sync."
677
  msgstr ""
678
 
679
- #: includes/Admin.php:116
680
  msgid "The name is how it appears on Facebook Catalog."
681
  msgstr ""
682
 
683
- #: includes/Admin.php:212
684
  msgid ""
685
  "Please enter a Google product category and at least one sub-category to "
686
  "sell this product on Instagram."
687
  msgstr ""
688
 
689
- #: includes/Admin.php:238
690
  msgid "Search main categories..."
691
  msgstr ""
692
 
693
- #: includes/Admin.php:239
694
  msgid "Choose a main category"
695
  msgstr ""
696
 
697
- #: includes/Admin.php:240
698
  msgid "Choose a category"
699
  msgstr ""
700
 
701
- #: includes/Admin.php:279
702
  msgid ""
703
  "To sell this product on Instagram, please ensure it meets the following "
704
  "requirements:"
705
  msgstr ""
706
 
707
- #: includes/Admin.php:282
708
  msgid "Has a price defined"
709
  msgstr ""
710
 
711
- #: includes/Admin.php:288
712
  #. translators: Placeholders: %1$s - <strong> opening HTML tag, %2$s -
713
  #. </strong> closing HTML tag
714
  msgid "Has %1$sManage Stock%2$s enabled on the %1$sInventory%2$s tab"
715
  msgstr ""
716
 
717
- #: includes/Admin.php:300
718
  #. translators: Placeholders: %1$s - <strong> opening HTML tag, %2$s -
719
  #. </strong> closing HTML tag
720
  msgid ""
@@ -722,11 +722,11 @@ msgid ""
722
  "and hide\""
723
  msgstr ""
724
 
725
- #: includes/Admin.php:329
726
  msgid "Close"
727
  msgstr ""
728
 
729
- #: includes/Admin.php:354
730
  #. translators: Placeholders: %1$s - opening <a> link tag, %2$s - closing </a>
731
  #. link tag
732
  msgid ""
@@ -735,44 +735,44 @@ msgid ""
735
  "the Facebook catalog as well?"
736
  msgstr ""
737
 
738
- #: includes/Admin.php:383
739
  msgid "Remove from sync only"
740
  msgstr ""
741
 
742
- #: includes/Admin.php:387
743
  msgid "Remove from sync and delete"
744
  msgstr ""
745
 
746
- #: includes/Admin.php:423 includes/Admin.php:1266 includes/Admin.php:1408
747
  msgid "Facebook sync"
748
  msgstr ""
749
 
750
- #: includes/Admin.php:450 includes/Admin.php:481
751
  msgid "Sync and show"
752
  msgstr ""
753
 
754
- #: includes/Admin.php:452 includes/Admin.php:482
755
  msgid "Sync and hide"
756
  msgstr ""
757
 
758
- #: includes/Admin.php:456 includes/Admin.php:483 includes/Admin.php:1270
759
- #: includes/Admin.php:1412
760
  msgid "Do not sync"
761
  msgstr ""
762
 
763
- #: includes/Admin.php:480
764
  msgid "Filter by Facebook sync setting"
765
  msgstr ""
766
 
767
- #: includes/Admin.php:893
768
  msgid "Include in Facebook sync"
769
  msgstr ""
770
 
771
- #: includes/Admin.php:894
772
  msgid "Exclude from Facebook sync"
773
  msgstr ""
774
 
775
- #: includes/Admin.php:1087
776
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
777
  #. <a> tag, %4$s - <a> tag
778
  msgid ""
@@ -786,11 +786,11 @@ msgid_plural ""
786
  msgstr[0] ""
787
  msgstr[1] ""
788
 
789
- #: includes/Admin.php:1094
790
  msgid "Don't show this notice again"
791
  msgstr ""
792
 
793
- #: includes/Admin.php:1128
794
  #. translators: Placeholders: %1$s - number of affected products, %2$s opening
795
  #. HTML <a> tag, %3$s - closing HTML </a> tag, %4$s - opening HTML <a> tag,
796
  #. %5$s - closing HTML </a> tag
@@ -807,7 +807,7 @@ msgid_plural ""
807
  msgstr[0] ""
808
  msgstr[1] ""
809
 
810
- #: includes/Admin.php:1194
811
  #. translators: Placeholders: %1$s - opening HTML <strong> tag, %2$s - closing
812
  #. HTML </strong> tag, %3$s - opening HTML <a> tag, %4$s - closing HTML </a>
813
  #. tag
@@ -817,176 +817,176 @@ msgid ""
817
  "your Facebook catalog. You may still advertise Virtual products on Facebook."
818
  msgstr ""
819
 
820
- #: includes/Admin.php:1268 includes/Admin.php:1410
821
  msgid "Sync and show in catalog"
822
  msgstr ""
823
 
824
- #: includes/Admin.php:1269 includes/Admin.php:1411
825
  msgid "Sync and hide in catalog"
826
  msgstr ""
827
 
828
- #: includes/Admin.php:1279 includes/Admin.php:1424
829
  msgid "Facebook Description"
830
  msgstr ""
831
 
832
- #: includes/Admin.php:1281 includes/Admin.php:1426
833
  msgid ""
834
  "Custom (plain-text only) description for product on Facebook. If blank, "
835
  "product description will be used. If product description is blank, "
836
  "shortname will be used."
837
  msgstr ""
838
 
839
- #: includes/Admin.php:1292 includes/Admin.php:1439
840
  msgid "Facebook Product Image"
841
  msgstr ""
842
 
843
- #: includes/Admin.php:1294 includes/Admin.php:1441
844
  msgid ""
845
  "Choose the product image that should be synced to the Facebook catalog for "
846
  "this product. If using a custom image, please enter an absolute URL (e.g. "
847
  "https://domain.com/image.jpg)."
848
  msgstr ""
849
 
850
- #: includes/Admin.php:1296
851
  msgid "Use WooCommerce image"
852
  msgstr ""
853
 
854
- #: includes/Admin.php:1297 includes/Admin.php:1445
855
  msgid "Use custom image"
856
  msgstr ""
857
 
858
- #: includes/Admin.php:1308 includes/Admin.php:1457
859
  msgid "Custom Image URL"
860
  msgstr ""
861
 
862
- #: includes/Admin.php:1319 includes/Admin.php:1470
863
  #. translators: Placeholders %1$s - WC currency symbol
864
  msgid "Facebook Price (%1$s)"
865
  msgstr ""
866
 
867
- #: includes/Admin.php:1323 includes/Admin.php:1474
868
  msgid ""
869
  "Custom price for product on Facebook. Please enter in monetary decimal (.) "
870
  "format without thousand separators and currency symbols. If blank, product "
871
  "price will be used."
872
  msgstr ""
873
 
874
- #: includes/Admin.php:1443
875
  msgid "Use variation image"
876
  msgstr ""
877
 
878
- #: includes/Admin.php:1444
879
  msgid "Use parent image"
880
  msgstr ""
881
 
882
- #: includes/Admin.php:1598
883
  msgid "Close modal panel"
884
  msgstr ""
885
 
886
- #: includes/Commerce/Orders.php:432
887
  #. translators: Placeholders: %1$s - order remote id, %2$s - order created by
888
  msgid "Order %1$s paid in %2$s"
889
  msgstr ""
890
 
891
- #: includes/Commerce/Orders.php:584 includes/Commerce/Orders.php:819
892
  msgid "Remote ID not found."
893
  msgstr ""
894
 
895
- #: includes/Commerce/Orders.php:591
896
  msgid "%s is not a valid shipping carrier code."
897
  msgstr ""
898
 
899
- #: includes/Commerce/Orders.php:609 includes/Commerce/Orders.php:786
900
  msgid "No valid Facebook products were found."
901
  msgstr ""
902
 
903
- #: includes/Commerce/Orders.php:627
904
  #. translators: Placeholder: %s - sales channel name, like Facebook or
905
  #. Instagram
906
  msgid "%s order fulfilled."
907
  msgstr ""
908
 
909
- #: includes/Commerce/Orders.php:637
910
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
911
  #. Instagram, %2$s - error message
912
  msgid "%1$s order could not be fulfilled. %2$s"
913
  msgstr ""
914
 
915
- #: includes/Commerce/Orders.php:681
916
  msgid "Parent order not found."
917
  msgstr ""
918
 
919
- #: includes/Commerce/Orders.php:687
920
  msgid "Remote ID for parent order not found."
921
  msgstr ""
922
 
923
- #: includes/Commerce/Orders.php:718
924
  #. translators: Placeholder: %s - sales channel name, like Facebook or
925
  #. Instagram
926
  msgid "Order refunded on %s."
927
  msgstr ""
928
 
929
- #: includes/Commerce/Orders.php:730
930
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
931
  #. Instagram, %2$s - error message
932
  msgid "Could not refund %1$s order: %2$s"
933
  msgstr ""
934
 
935
- #: includes/Commerce/Orders.php:827
936
  #. translators: Placeholder: %s - sales channel name, like Facebook or
937
  #. Instagram
938
  msgid "%s order cancelled."
939
  msgstr ""
940
 
941
- #: includes/Commerce/Orders.php:837
942
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
943
  #. Instagram, %2$s - error message
944
  msgid "%1$s order could not be cancelled. %2$s"
945
  msgstr ""
946
 
947
- #: includes/Commerce/Orders.php:859
948
  msgid "Customer requested cancellation"
949
  msgstr ""
950
 
951
- #: includes/Commerce/Orders.php:860
952
  msgid "Product(s) are out of stock"
953
  msgstr ""
954
 
955
- #: includes/Commerce/Orders.php:861
956
  msgid "Customer address is invalid"
957
  msgstr ""
958
 
959
- #: includes/Commerce/Orders.php:862
960
  msgid "Suspicious order"
961
  msgstr ""
962
 
963
- #: includes/Commerce/Orders.php:863
964
  msgid "Other"
965
  msgstr ""
966
 
967
- #: includes/Handlers/Connection.php:323
968
  msgid "Connection successful!"
969
  msgstr ""
970
 
971
- #: includes/Handlers/Connection.php:354
972
  msgid "You do not have permission to uninstall Facebook Business Extension."
973
  msgstr ""
974
 
975
- #: includes/Handlers/Connection.php:364
976
  msgid "Disconnection successful."
977
  msgstr ""
978
 
979
- #: includes/Handlers/Connection.php:429
980
  #. translators: Placeholders: %s - API error message
981
  msgid "Could not retrieve page access data. %s"
982
  msgstr ""
983
 
984
- #: includes/Handlers/Connection.php:443
985
  #. translators: Placeholders: %s - Facebook page ID
986
  msgid "Page %s not authorized."
987
  msgstr ""
988
 
989
- #: includes/Handlers/Connection.php:1386
990
  msgid "You do not have permission to finish App Store login."
991
  msgstr ""
992
 
@@ -1022,69 +1022,69 @@ msgstr ""
1022
  msgid "If product is not simple, variable or variation it must have a price."
1023
  msgstr ""
1024
 
1025
- #: includes/Products/Sync/Background.php:68
1026
  msgid "Job data key \"%s\" not set"
1027
  msgstr ""
1028
 
1029
- #: includes/Products/Sync/Background.php:72
1030
  msgid "Job data key \"%s\" is not an array"
1031
  msgstr ""
1032
 
1033
- #: includes/Products/Sync/Background.php:157
1034
  msgid ""
1035
  "There was an error trying sync products using the Catalog Batch API for job "
1036
  "%1$s: %2$s"
1037
  msgstr ""
1038
 
1039
- #: includes/fbgraph.php:105
1040
  msgid "HTTP %1$s: %2$s"
1041
  msgstr ""
1042
 
1043
- #: includes/fbinfobanner.php:211
1044
  msgid "Click and redirect."
1045
  msgstr ""
1046
 
1047
- #: includes/fbinfobanner.php:212
1048
  msgid "Dismiss this notice."
1049
  msgstr ""
1050
 
1051
- #: includes/fbinfobanner.php:212
1052
  msgid "Dismiss"
1053
  msgstr ""
1054
 
1055
- #: includes/fbproductfeed.php:469
1056
  msgid "Could not create product catalog feed directory"
1057
  msgstr ""
1058
 
1059
- #: includes/fbproductfeed.php:534
1060
  msgid "Could not open the product catalog temporary feed file for writing"
1061
  msgstr ""
1062
 
1063
- #: includes/fbproductfeed.php:541
1064
  msgid "Could not open the product catalog feed file for writing"
1065
  msgstr ""
1066
 
1067
- #: includes/fbproductfeed.php:584
1068
  msgid "Could not rename the product catalog feed file"
1069
  msgstr ""
1070
 
1071
- #: includes/fbwpml.php:114
1072
  msgid "Facebook Visibility"
1073
  msgstr ""
1074
 
1075
- #: includes/fbwpml.php:117
1076
  msgid ""
1077
  "WooCommerce Products with languages that are selected here will be visible "
1078
  "to customers who see your Facebook Shop."
1079
  msgstr ""
1080
 
1081
- #: includes/fbwpml.php:134
1082
  msgid ""
1083
  "Saved. An automated sync from Facebook will run every hour to update the "
1084
  "catalog with any changes you've made."
1085
  msgstr ""
1086
 
1087
- #: includes/fbwpml.php:140
1088
  msgid "Save"
1089
  msgstr ""
1090
 
@@ -1105,7 +1105,7 @@ msgstr ""
1105
  msgid "https://www.facebook.com/"
1106
  msgstr ""
1107
 
1108
- #: includes/Locale.php:180
1109
  msgctxt "language"
1110
  msgid "English (United States)"
1111
  msgstr ""
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.2-dev\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2021-08-31 14:42:18+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: class-wc-facebookcommerce.php:262
17
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
18
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
19
  msgid ""
21
  "Facebook for WooCommerce connection. Please %3$sclick here%4$s to reconnect!"
22
  msgstr ""
23
 
24
+ #: class-wc-facebookcommerce.php:283
25
  #. translators: Placeholders %1$s - opening link HTML tag, %2$s - closing link
26
  #. HTML tag
27
  msgid ""
29
  "under %1$sWooCommerce > Facebook%2$s."
30
  msgstr ""
31
 
32
+ #: class-wc-facebookcommerce.php:303
33
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
34
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
35
  msgid ""
37
  "configuration, %3$scomplete the setup steps%4$s."
38
  msgstr ""
39
 
40
+ #: class-wc-facebookcommerce.php:335
41
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
42
  #. <a> tag, %4$s - </a> tag
43
  msgid ""
46
  "Connection%4$s area."
47
  msgstr ""
48
 
49
+ #: class-wc-facebookcommerce.php:358
50
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
51
  #. <a> tag, %4$s - </a> tag
52
  msgid ""
55
  "products."
56
  msgstr ""
57
 
58
+ #: class-wc-facebookcommerce.php:384
59
  #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
60
  #. </a> HTML link tag
61
  msgid "Heads up! The Facebook menu is now located under the %1$sMarketing%2$s menu."
62
  msgstr ""
63
 
64
+ #: class-wc-facebookcommerce.php:456
65
  msgid "FB Product Sets"
66
  msgstr ""
67
 
68
+ #: class-wc-facebookcommerce.php:457
69
  msgid "FB Product Set"
70
  msgstr ""
71
 
72
+ #: class-wc-facebookcommerce.php:465
73
  #. translators: Edit item label
74
  msgid "Edit %s"
75
  msgstr ""
76
 
77
+ #: class-wc-facebookcommerce.php:467
78
  #. translators: Add new label
79
  msgid "Add new %s"
80
  msgstr ""
81
 
82
+ #: class-wc-facebookcommerce.php:470
83
  #. translators: No items found text
84
  msgid "No %s found."
85
  msgstr ""
86
 
87
+ #: class-wc-facebookcommerce.php:472
88
  #. translators: Search label
89
  msgid "Search %s."
90
  msgstr ""
91
 
92
+ #: class-wc-facebookcommerce.php:474
93
  #. translators: Text label
94
  msgid "Separate %s with commas"
95
  msgstr ""
96
 
97
+ #: class-wc-facebookcommerce.php:476
98
  #. translators: Text label
99
  msgid "Choose from the most used %s"
100
  msgstr ""
101
 
102
+ #: class-wc-facebookcommerce.php:592
103
  msgid "Cannot create the API instance because the access token is missing."
104
  msgstr ""
105
 
107
  msgid "Facebook for WooCommerce"
108
  msgstr ""
109
 
110
+ #: facebook-commerce.php:230
111
  msgid "Facebook Commerce and Dynamic Ads (Pixel) Extension"
112
  msgstr ""
113
 
114
+ #: facebook-commerce.php:642
115
  msgid "Facebook ID:"
116
  msgstr ""
117
 
118
+ #: facebook-commerce.php:650
119
  msgid "Variant IDs:"
120
  msgstr ""
121
 
122
+ #: facebook-commerce.php:668
123
  msgid "Reset Facebook metadata"
124
  msgstr ""
125
 
126
+ #: facebook-commerce.php:673
127
  msgid "Delete product(s) on Facebook"
128
  msgstr ""
129
 
130
+ #: facebook-commerce.php:681
131
  msgid "This product is not yet synced to Facebook."
132
  msgstr ""
133
 
134
+ #: facebook-commerce.php:1508
135
  msgid "Nothing to update for product group for %1$s"
136
  msgstr ""
137
 
138
+ #: facebook-commerce.php:1902
139
  #. translators: Placeholders %1$s - original error message from Facebook API
140
  msgid "There was an issue connecting to the Facebook API: %1$s"
141
  msgstr ""
142
 
143
+ #: facebook-commerce.php:2238
144
  msgid "Your connection has expired."
145
  msgstr ""
146
 
147
+ #: facebook-commerce.php:2238
148
  msgid ""
149
  "Please click Manage connection > Advanced Options > Update Token to refresh "
150
  "your connection to Facebook."
151
  msgstr ""
152
 
153
+ #: facebook-commerce.php:2245
154
  #. translators: Placeholders %s - error message
155
  msgid "There was an error trying to sync the products to Facebook. %s"
156
  msgstr ""
157
 
158
+ #: facebook-commerce.php:2268 facebook-commerce.php:2441
159
  msgid "Product sync is disabled."
160
  msgstr ""
161
 
162
+ #: facebook-commerce.php:2275 facebook-commerce.php:2448
163
  msgid "The plugin is not configured or the Catalog ID is missing."
164
  msgstr ""
165
 
166
+ #: facebook-commerce.php:2298
167
  msgid ""
168
  "A product sync is in progress. Please wait until the sync finishes before "
169
  "starting a new one."
170
  msgstr ""
171
 
172
+ #: facebook-commerce.php:2310 facebook-commerce.php:2462
173
  msgid ""
174
  "We've detected that your Facebook Product Catalog is no longer valid. This "
175
  "may happen if it was deleted, but could also be a temporary error. If the "
177
  "and setup the plugin again."
178
  msgstr ""
179
 
180
+ #: facebook-commerce.php:2486
181
  msgid "We couldn't create the feed or upload the product information."
182
  msgstr ""
183
 
184
+ #: facebook-commerce.php:2954
185
  msgid "Hi! We're here to answer any questions you may have."
186
  msgstr ""
187
 
188
+ #: facebook-commerce.php:3321
189
  msgid "Facebook for WooCommerce error:"
190
  msgstr ""
191
 
192
+ #: facebook-commerce.php:3403
193
  msgid ""
194
  "There was an error trying to retrieve information about the Facebook page: "
195
  "%s"
196
  msgstr ""
197
 
198
+ #: facebook-commerce.php:3454
199
  msgid "Get started with Messenger Customer Chat"
200
  msgstr ""
201
 
202
+ #: facebook-commerce.php:3455
203
  msgid "Get started with Instagram Shopping"
204
  msgstr ""
205
 
206
+ #: facebook-commerce.php:3690
207
  #. translators: Placeholders %1$s - original error message from Facebook API
208
  msgid "There was an issue connecting to the Facebook API: %s"
209
  msgstr ""
210
 
211
+ #: includes/AJAX.php:82
212
  msgid "Invalid nonce."
213
  msgstr ""
214
 
215
+ #: includes/AJAX.php:89
216
  msgid "Order ID is required."
217
  msgstr ""
218
 
219
+ #: includes/AJAX.php:93
220
  msgid "Cancel reason is required."
221
  msgstr ""
222
 
223
+ #: includes/AJAX.php:99
224
  msgid "A valid Order ID is required."
225
  msgstr ""
226
 
227
+ #: includes/AJAX.php:182
228
  msgid "Order ID is required"
229
  msgstr ""
230
 
231
+ #: includes/AJAX.php:186
232
  msgid "Tracking number is required"
233
  msgstr ""
234
 
235
+ #: includes/AJAX.php:190
236
  msgid "Carrier code is required"
237
  msgstr ""
238
 
239
+ #: includes/AJAX.php:196
240
  msgid "Order not found"
241
  msgstr ""
242
 
243
+ #: includes/AJAX.php:220
244
  msgid ""
245
  "Full product sync disabled by filter hook "
246
  "`facebook_for_woocommerce_allow_full_batch_api_sync`."
247
  msgstr ""
248
 
249
+ #: includes/AJAX.php:343 includes/AJAX.php:411
250
  msgid "Go to Settings"
251
  msgstr ""
252
 
253
+ #: includes/AJAX.php:348 includes/AJAX.php:416 includes/AJAX.php:482
254
+ #: includes/Admin/Product_Categories.php:119
255
+ #: includes/Admin/Settings_Screens/Product_Sync.php:158 includes/Admin.php:392
256
  msgid "Cancel"
257
  msgstr ""
258
 
259
+ #: includes/AJAX.php:357
260
  #. translators: Placeholder %s - <br/> tag
261
  msgid ""
262
  "This product belongs to a category or tag that is excluded from the "
265
  "or click Cancel and update the product's category / tag assignments."
266
  msgstr ""
267
 
268
+ #: includes/AJAX.php:423
269
  msgid ""
270
  "One or more of the selected products belongs to a category or tag that is "
271
  "excluded from the Facebook catalog sync. To sync these products to "
273
  "settings."
274
  msgstr ""
275
 
276
+ #: includes/AJAX.php:476
277
  msgid "Exclude Products"
278
  msgstr ""
279
 
280
+ #: includes/AJAX.php:491
281
  #. translators: Placeholder %s - <br/> tags
282
  msgid ""
283
  "The categories and/or tags that you have selected to exclude from sync "
286
  "category / tag exclusion settings, click Cancel."
287
  msgstr ""
288
 
289
+ #: includes/Admin/Abstract_Settings_Screen.php:73
290
  msgid "Save changes"
291
  msgstr ""
292
 
293
+ #: includes/Admin/Enhanced_Catalog_Attribute_Fields.php:104
294
  msgid "Show advanced options"
295
  msgstr ""
296
 
297
+ #: includes/Admin/Product_Categories.php:100
298
+ #: includes/Admin/Settings_Screens/Product_Sync.php:121
299
  msgid ""
300
  "Products and categories that inherit this global setting (i.e. they do not "
301
  "have a specific Google product category set) will use the new default "
302
  "immediately. Are you sure you want to proceed?"
303
  msgstr ""
304
 
305
+ #: includes/Admin/Product_Categories.php:123
306
+ #: includes/Admin/Settings_Screens/Product_Sync.php:162
307
  msgid "Update default Google product category"
308
  msgstr ""
309
 
310
+ #: includes/Admin/Product_Categories.php:164
311
  msgid ""
312
  "Facebook catalogs now support category specific fields, to make best use of "
313
  "them you need to select a category. WooCommerce uses the google taxonomy as "
314
  "it is the most widely accepted form of categorisation."
315
  msgstr ""
316
 
317
+ #: includes/Admin/Product_Categories.php:215
318
  msgid ""
319
  "Choose a default Google product category for products in this category. "
320
  "Products need at least two category levels defined for tax to be correctly "
321
  "applied."
322
  msgstr ""
323
 
324
+ #: includes/Admin/Product_Categories.php:233
325
+ #: includes/Admin/Settings_Screens/Product_Sync.php:338
326
  msgid "Default Google product category"
327
  msgstr ""
328
 
329
+ #: includes/Admin/Product_Categories.php:358
330
  msgid "Select default values for enhanced attributes within this category"
331
  msgstr ""
332
 
333
+ #: includes/Admin/Product_Categories.php:376 includes/Admin/Products.php:119
334
  msgid "Category Specific Attributes"
335
  msgstr ""
336
 
337
+ #: includes/Admin/Product_Sets.php:150
338
  msgid "WC Product Categories"
339
  msgstr ""
340
 
341
+ #: includes/Admin/Product_Sets.php:182
342
  msgid "Map FB Product Set to WC Product Categories"
343
  msgstr ""
344
 
345
+ #: includes/Admin/Products.php:101
346
  msgid "Select values for enhanced attributes for this product"
347
  msgstr ""
348
 
349
+ #: includes/Admin/Products.php:140
350
  msgid "Google product category"
351
  msgstr ""
352
 
353
+ #: includes/Admin/Products.php:141
354
  msgid ""
355
  "Choose the Google product category and (optionally) sub-categories "
356
  "associated with this product."
357
  msgstr ""
358
 
359
+ #: includes/Admin/Products.php:214
360
  msgid "Sell on Instagram"
361
  msgstr ""
362
 
363
+ #: includes/Admin/Products.php:216
364
  msgid ""
365
  "Enable to sell this product on Instagram. Products that are hidden in the "
366
  "Facebook catalog can be synced, but won’t be available for purchase."
367
  msgstr ""
368
 
369
+ #: includes/Admin/Products.php:226
370
  msgid "This product does not meet the requirements to sell on Instagram."
371
  msgstr ""
372
 
373
+ #: includes/Admin/Products.php:227
374
  msgid "Click here to learn more."
375
  msgstr ""
376
 
377
+ #: includes/Admin/Products.php:236
378
  #. translators: Placeholders %1$s - strong opening tag, %2$s - strong closing
379
  #. tag
380
  msgid ""
387
  msgid "Facebook"
388
  msgstr ""
389
 
390
+ #: includes/Admin/Settings.php:121
 
391
  #: includes/Admin/Settings_Screens/Connection.php:35
392
+ #: includes/Admin/Settings_Screens/Connection.php:36
393
  msgid "Connection"
394
  msgstr ""
395
 
396
+ #: includes/Admin/Settings.php:124
 
397
  #: includes/Admin/Settings_Screens/Messenger.php:41
398
+ #: includes/Admin/Settings_Screens/Messenger.php:42
399
+ #: includes/Admin/Settings_Screens/Messenger.php:148
400
  msgid "Messenger"
401
  msgstr ""
402
 
403
+ #: includes/Admin/Settings.php:127
 
404
  #: includes/Admin/Settings_Screens/Product_Sync.php:43
405
+ #: includes/Admin/Settings_Screens/Product_Sync.php:44
406
+ #: includes/Admin/Settings_Screens/Product_Sync.php:181
407
+ #: includes/Admin/Settings_Screens/Product_Sync.php:284
408
  msgid "Product sync"
409
  msgstr ""
410
 
411
+ #: includes/Admin/Settings.php:130
 
412
  #: includes/Admin/Settings_Screens/Advertise.php:38
413
+ #: includes/Admin/Settings_Screens/Advertise.php:39
414
  msgid "Advertise"
415
  msgstr ""
416
 
417
+ #: includes/Admin/Settings.php:216
418
  msgid "You do not have permission to save these settings."
419
  msgstr ""
420
 
421
+ #: includes/Admin/Settings.php:225
422
  msgid "Your settings have been saved."
423
  msgstr ""
424
 
425
+ #: includes/Admin/Settings.php:232
426
  #. translators: Placeholders: %s - user-friendly error message
427
  msgid "Your settings could not be saved. %s"
428
  msgstr ""
429
 
430
+ #: includes/Admin/Settings_Screens/Advertise.php:203
431
  #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
432
  #. </a> HTML link tag
433
  msgid "Please %1$sconnect your store%2$s to Facebook to create ads."
434
  msgstr ""
435
 
436
+ #: includes/Admin/Settings_Screens/Advertise.php:221
437
  msgid ""
438
  "If you are connected to Facebook but cannot display ads, please contact "
439
  "Facebook support."
440
  msgstr ""
441
 
442
+ #: includes/Admin/Settings_Screens/Connection.php:58
443
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
444
  #. <a> tag, %4$s - </a> tag, %5$s - <a> tag, %6$s - </a> tag
445
  msgid ""
448
  "touch with our support team%6$s for assistance."
449
  msgstr ""
450
 
451
+ #: includes/Admin/Settings_Screens/Connection.php:131
452
  msgid "Page"
453
  msgstr ""
454
 
455
+ #: includes/Admin/Settings_Screens/Connection.php:135
456
  msgid "Pixel"
457
  msgstr ""
458
 
459
+ #: includes/Admin/Settings_Screens/Connection.php:139
460
  msgid "Catalog"
461
  msgstr ""
462
 
463
+ #: includes/Admin/Settings_Screens/Connection.php:144
464
  msgid "Business Manager account"
465
  msgstr ""
466
 
467
+ #: includes/Admin/Settings_Screens/Connection.php:148
468
  msgid "Ad Manager account"
469
  msgstr ""
470
 
471
+ #: includes/Admin/Settings_Screens/Connection.php:152
472
  msgid "Instagram Business ID"
473
  msgstr ""
474
 
475
+ #: includes/Admin/Settings_Screens/Connection.php:156
476
  msgid "Commerce Merchant Settings ID"
477
  msgstr ""
478
 
479
+ #: includes/Admin/Settings_Screens/Connection.php:255
480
  msgid "Reach the Right People and Sell More Online"
481
  msgstr ""
482
 
483
+ #: includes/Admin/Settings_Screens/Connection.php:257
484
  msgid "Grow your business on Facebook"
485
  msgstr ""
486
 
487
+ #: includes/Admin/Settings_Screens/Connection.php:260
488
  msgid "Use this WooCommerce and Facebook integration to:"
489
  msgstr ""
490
 
491
+ #: includes/Admin/Settings_Screens/Connection.php:262
492
  msgid "Create an ad in a few steps"
493
  msgstr ""
494
 
495
+ #: includes/Admin/Settings_Screens/Connection.php:263
496
  msgid "Use built-in best practices for online sales"
497
  msgstr ""
498
 
499
+ #: includes/Admin/Settings_Screens/Connection.php:264
500
  msgid "Get reporting on sales and revenue"
501
  msgstr ""
502
 
503
+ #: includes/Admin/Settings_Screens/Connection.php:287
504
  msgid "Manage Connection"
505
  msgstr ""
506
 
507
+ #: includes/Admin/Settings_Screens/Connection.php:291
508
  msgid "Disconnect"
509
  msgstr ""
510
 
511
+ #: includes/Admin/Settings_Screens/Connection.php:297
512
  msgid "Get Started"
513
  msgstr ""
514
 
515
+ #: includes/Admin/Settings_Screens/Connection.php:322
516
  msgid "Debug"
517
  msgstr ""
518
 
519
+ #: includes/Admin/Settings_Screens/Connection.php:328
520
  msgid "Enable debug mode"
521
  msgstr ""
522
 
523
+ #: includes/Admin/Settings_Screens/Connection.php:330
524
  msgid "Log plugin events for debugging"
525
  msgstr ""
526
 
527
+ #: includes/Admin/Settings_Screens/Connection.php:331
528
  msgid "Only enable this if you are experiencing problems with the plugin."
529
  msgstr ""
530
 
531
+ #: includes/Admin/Settings_Screens/Messenger.php:122
532
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
533
  msgid "%1$sClick here%2$s to manage your Messenger greeting and colors."
534
  msgstr ""
535
 
536
+ #: includes/Admin/Settings_Screens/Messenger.php:154
537
  msgid "Enable Messenger"
538
  msgstr ""
539
 
540
+ #: includes/Admin/Settings_Screens/Messenger.php:156
541
  msgid "Enable and customize Facebook Messenger on your store"
542
  msgstr ""
543
 
544
+ #: includes/Admin/Settings_Screens/Messenger.php:166
545
  msgid "Language"
546
  msgstr ""
547
 
548
+ #: includes/Admin/Settings_Screens/Messenger.php:171
549
  msgid "Greeting & Colors"
550
  msgstr ""
551
 
552
+ #: includes/Admin/Settings_Screens/Messenger.php:193
553
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
554
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage Facebook Messenger."
555
  msgstr ""
556
 
557
+ #: includes/Admin/Settings_Screens/Messenger.php:246
558
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
559
  msgid ""
560
  "There was an error communicating with the Facebook Business Extension. "
561
  "%1$sClick here%2$s to manage your Messenger settings."
562
  msgstr ""
563
 
564
+ #: includes/Admin/Settings_Screens/Messenger.php:318
565
  msgid "Please try again."
566
  msgstr ""
567
 
 
568
  #: includes/Admin/Settings_Screens/Product_Sets.php:34
569
+ #: includes/Admin/Settings_Screens/Product_Sets.php:35
570
  msgid "Product sets"
571
  msgstr ""
572
 
573
+ #: includes/Admin/Settings_Screens/Product_Sync.php:82
574
  #. translators: Placeholders: {count} number of remaining items
575
  msgid "{count} item remaining."
576
  msgid_plural "{count} items remaining."
577
  msgstr[0] ""
578
  msgstr[1] ""
579
 
580
+ #: includes/Admin/Settings_Screens/Product_Sync.php:97
581
  #. translators: Placeholders %s - html code for a spinner icon
582
  msgid "Your products will now be resynced to Facebook, this may take some time."
583
  msgstr ""
584
 
585
+ #: includes/Admin/Settings_Screens/Product_Sync.php:98
586
  msgid ""
587
  "Facebook for WooCommerce automatically syncs your products on "
588
  "create/update. Are you sure you want to force product resync?\n"
592
  "did not sync."
593
  msgstr ""
594
 
595
+ #: includes/Admin/Settings_Screens/Product_Sync.php:99
596
  msgid "Your products are syncing - you may safely leave this page %s"
597
  msgstr ""
598
 
599
+ #: includes/Admin/Settings_Screens/Product_Sync.php:102
600
  msgid "There was an error trying to sync the products to Facebook."
601
  msgstr ""
602
 
603
+ #: includes/Admin/Settings_Screens/Product_Sync.php:103
604
  msgid ""
605
  "Something went wrong while uploading the product information, please try "
606
  "again."
607
  msgstr ""
608
 
609
+ #: includes/Admin/Settings_Screens/Product_Sync.php:136
610
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
611
  msgid ""
612
  "Products and categories that inherit this global setting (they do not have "
616
  "Are you sure you want to proceed?"
617
  msgstr ""
618
 
619
+ #: includes/Admin/Settings_Screens/Product_Sync.php:189
620
  msgid "Sync products"
621
  msgstr ""
622
 
623
+ #: includes/Admin/Settings_Screens/Product_Sync.php:289
624
  msgid "Enable product sync"
625
  msgstr ""
626
 
627
+ #: includes/Admin/Settings_Screens/Product_Sync.php:297
628
  msgid "Exclude categories from sync"
629
  msgstr ""
630
 
631
+ #: includes/Admin/Settings_Screens/Product_Sync.php:301
632
  msgid "Products in one or more of these categories will not sync to Facebook."
633
  msgstr ""
634
 
635
+ #: includes/Admin/Settings_Screens/Product_Sync.php:305
636
  msgid "Search for a product category&hellip;"
637
  msgstr ""
638
 
639
+ #: includes/Admin/Settings_Screens/Product_Sync.php:311
640
  msgid "Exclude tags from sync"
641
  msgstr ""
642
 
643
+ #: includes/Admin/Settings_Screens/Product_Sync.php:315
644
  msgid "Products with one or more of these tags will not sync to Facebook."
645
  msgstr ""
646
 
647
+ #: includes/Admin/Settings_Screens/Product_Sync.php:319
648
  msgid "Search for a product tag&hellip;"
649
  msgstr ""
650
 
651
+ #: includes/Admin/Settings_Screens/Product_Sync.php:325
652
  msgid "Product description sync"
653
  msgstr ""
654
 
655
+ #: includes/Admin/Settings_Screens/Product_Sync.php:328
656
  msgid "Choose which product description to display in the Facebook catalog."
657
  msgstr ""
658
 
659
+ #: includes/Admin/Settings_Screens/Product_Sync.php:331
660
  msgid "Standard description"
661
  msgstr ""
662
 
663
+ #: includes/Admin/Settings_Screens/Product_Sync.php:332
664
  msgid "Short description"
665
  msgstr ""
666
 
667
+ #: includes/Admin/Settings_Screens/Product_Sync.php:339
668
  msgid ""
669
  "Choose a default Google product category for your products. Defaults can "
670
  "also be set for product categories. Products need at least two category "
671
  "levels defined for tax to be correctly applied."
672
  msgstr ""
673
 
674
+ #: includes/Admin/Settings_Screens/Product_Sync.php:385
675
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
676
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage product sync."
677
  msgstr ""
678
 
679
+ #: includes/Admin.php:117
680
  msgid "The name is how it appears on Facebook Catalog."
681
  msgstr ""
682
 
683
+ #: includes/Admin.php:213
684
  msgid ""
685
  "Please enter a Google product category and at least one sub-category to "
686
  "sell this product on Instagram."
687
  msgstr ""
688
 
689
+ #: includes/Admin.php:239
690
  msgid "Search main categories..."
691
  msgstr ""
692
 
693
+ #: includes/Admin.php:240
694
  msgid "Choose a main category"
695
  msgstr ""
696
 
697
+ #: includes/Admin.php:241
698
  msgid "Choose a category"
699
  msgstr ""
700
 
701
+ #: includes/Admin.php:280
702
  msgid ""
703
  "To sell this product on Instagram, please ensure it meets the following "
704
  "requirements:"
705
  msgstr ""
706
 
707
+ #: includes/Admin.php:283
708
  msgid "Has a price defined"
709
  msgstr ""
710
 
711
+ #: includes/Admin.php:289
712
  #. translators: Placeholders: %1$s - <strong> opening HTML tag, %2$s -
713
  #. </strong> closing HTML tag
714
  msgid "Has %1$sManage Stock%2$s enabled on the %1$sInventory%2$s tab"
715
  msgstr ""
716
 
717
+ #: includes/Admin.php:301
718
  #. translators: Placeholders: %1$s - <strong> opening HTML tag, %2$s -
719
  #. </strong> closing HTML tag
720
  msgid ""
722
  "and hide\""
723
  msgstr ""
724
 
725
+ #: includes/Admin.php:330
726
  msgid "Close"
727
  msgstr ""
728
 
729
+ #: includes/Admin.php:355
730
  #. translators: Placeholders: %1$s - opening <a> link tag, %2$s - closing </a>
731
  #. link tag
732
  msgid ""
735
  "the Facebook catalog as well?"
736
  msgstr ""
737
 
738
+ #: includes/Admin.php:384
739
  msgid "Remove from sync only"
740
  msgstr ""
741
 
742
+ #: includes/Admin.php:388
743
  msgid "Remove from sync and delete"
744
  msgstr ""
745
 
746
+ #: includes/Admin.php:424 includes/Admin.php:1267 includes/Admin.php:1409
747
  msgid "Facebook sync"
748
  msgstr ""
749
 
750
+ #: includes/Admin.php:451 includes/Admin.php:482
751
  msgid "Sync and show"
752
  msgstr ""
753
 
754
+ #: includes/Admin.php:453 includes/Admin.php:483
755
  msgid "Sync and hide"
756
  msgstr ""
757
 
758
+ #: includes/Admin.php:457 includes/Admin.php:484 includes/Admin.php:1271
759
+ #: includes/Admin.php:1413
760
  msgid "Do not sync"
761
  msgstr ""
762
 
763
+ #: includes/Admin.php:481
764
  msgid "Filter by Facebook sync setting"
765
  msgstr ""
766
 
767
+ #: includes/Admin.php:894
768
  msgid "Include in Facebook sync"
769
  msgstr ""
770
 
771
+ #: includes/Admin.php:895
772
  msgid "Exclude from Facebook sync"
773
  msgstr ""
774
 
775
+ #: includes/Admin.php:1088
776
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
777
  #. <a> tag, %4$s - <a> tag
778
  msgid ""
786
  msgstr[0] ""
787
  msgstr[1] ""
788
 
789
+ #: includes/Admin.php:1095
790
  msgid "Don't show this notice again"
791
  msgstr ""
792
 
793
+ #: includes/Admin.php:1129
794
  #. translators: Placeholders: %1$s - number of affected products, %2$s opening
795
  #. HTML <a> tag, %3$s - closing HTML </a> tag, %4$s - opening HTML <a> tag,
796
  #. %5$s - closing HTML </a> tag
807
  msgstr[0] ""
808
  msgstr[1] ""
809
 
810
+ #: includes/Admin.php:1195
811
  #. translators: Placeholders: %1$s - opening HTML <strong> tag, %2$s - closing
812
  #. HTML </strong> tag, %3$s - opening HTML <a> tag, %4$s - closing HTML </a>
813
  #. tag
817
  "your Facebook catalog. You may still advertise Virtual products on Facebook."
818
  msgstr ""
819
 
820
+ #: includes/Admin.php:1269 includes/Admin.php:1411
821
  msgid "Sync and show in catalog"
822
  msgstr ""
823
 
824
+ #: includes/Admin.php:1270 includes/Admin.php:1412
825
  msgid "Sync and hide in catalog"
826
  msgstr ""
827
 
828
+ #: includes/Admin.php:1280 includes/Admin.php:1425
829
  msgid "Facebook Description"
830
  msgstr ""
831
 
832
+ #: includes/Admin.php:1282 includes/Admin.php:1427
833
  msgid ""
834
  "Custom (plain-text only) description for product on Facebook. If blank, "
835
  "product description will be used. If product description is blank, "
836
  "shortname will be used."
837
  msgstr ""
838
 
839
+ #: includes/Admin.php:1293 includes/Admin.php:1440
840
  msgid "Facebook Product Image"
841
  msgstr ""
842
 
843
+ #: includes/Admin.php:1295 includes/Admin.php:1442
844
  msgid ""
845
  "Choose the product image that should be synced to the Facebook catalog for "
846
  "this product. If using a custom image, please enter an absolute URL (e.g. "
847
  "https://domain.com/image.jpg)."
848
  msgstr ""
849
 
850
+ #: includes/Admin.php:1297
851
  msgid "Use WooCommerce image"
852
  msgstr ""
853
 
854
+ #: includes/Admin.php:1298 includes/Admin.php:1446
855
  msgid "Use custom image"
856
  msgstr ""
857
 
858
+ #: includes/Admin.php:1309 includes/Admin.php:1458
859
  msgid "Custom Image URL"
860
  msgstr ""
861
 
862
+ #: includes/Admin.php:1320 includes/Admin.php:1471
863
  #. translators: Placeholders %1$s - WC currency symbol
864
  msgid "Facebook Price (%1$s)"
865
  msgstr ""
866
 
867
+ #: includes/Admin.php:1324 includes/Admin.php:1475
868
  msgid ""
869
  "Custom price for product on Facebook. Please enter in monetary decimal (.) "
870
  "format without thousand separators and currency symbols. If blank, product "
871
  "price will be used."
872
  msgstr ""
873
 
874
+ #: includes/Admin.php:1444
875
  msgid "Use variation image"
876
  msgstr ""
877
 
878
+ #: includes/Admin.php:1445
879
  msgid "Use parent image"
880
  msgstr ""
881
 
882
+ #: includes/Admin.php:1599
883
  msgid "Close modal panel"
884
  msgstr ""
885
 
886
+ #: includes/Commerce/Orders.php:433
887
  #. translators: Placeholders: %1$s - order remote id, %2$s - order created by
888
  msgid "Order %1$s paid in %2$s"
889
  msgstr ""
890
 
891
+ #: includes/Commerce/Orders.php:585 includes/Commerce/Orders.php:820
892
  msgid "Remote ID not found."
893
  msgstr ""
894
 
895
+ #: includes/Commerce/Orders.php:592
896
  msgid "%s is not a valid shipping carrier code."
897
  msgstr ""
898
 
899
+ #: includes/Commerce/Orders.php:610 includes/Commerce/Orders.php:787
900
  msgid "No valid Facebook products were found."
901
  msgstr ""
902
 
903
+ #: includes/Commerce/Orders.php:628
904
  #. translators: Placeholder: %s - sales channel name, like Facebook or
905
  #. Instagram
906
  msgid "%s order fulfilled."
907
  msgstr ""
908
 
909
+ #: includes/Commerce/Orders.php:638
910
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
911
  #. Instagram, %2$s - error message
912
  msgid "%1$s order could not be fulfilled. %2$s"
913
  msgstr ""
914
 
915
+ #: includes/Commerce/Orders.php:682
916
  msgid "Parent order not found."
917
  msgstr ""
918
 
919
+ #: includes/Commerce/Orders.php:688
920
  msgid "Remote ID for parent order not found."
921
  msgstr ""
922
 
923
+ #: includes/Commerce/Orders.php:719
924
  #. translators: Placeholder: %s - sales channel name, like Facebook or
925
  #. Instagram
926
  msgid "Order refunded on %s."
927
  msgstr ""
928
 
929
+ #: includes/Commerce/Orders.php:731
930
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
931
  #. Instagram, %2$s - error message
932
  msgid "Could not refund %1$s order: %2$s"
933
  msgstr ""
934
 
935
+ #: includes/Commerce/Orders.php:828
936
  #. translators: Placeholder: %s - sales channel name, like Facebook or
937
  #. Instagram
938
  msgid "%s order cancelled."
939
  msgstr ""
940
 
941
+ #: includes/Commerce/Orders.php:838
942
  #. translators: Placeholders: %1$s - sales channel name, like Facebook or
943
  #. Instagram, %2$s - error message
944
  msgid "%1$s order could not be cancelled. %2$s"
945
  msgstr ""
946
 
947
+ #: includes/Commerce/Orders.php:860
948
  msgid "Customer requested cancellation"
949
  msgstr ""
950
 
951
+ #: includes/Commerce/Orders.php:861
952
  msgid "Product(s) are out of stock"
953
  msgstr ""
954
 
955
+ #: includes/Commerce/Orders.php:862
956
  msgid "Customer address is invalid"
957
  msgstr ""
958
 
959
+ #: includes/Commerce/Orders.php:863
960
  msgid "Suspicious order"
961
  msgstr ""
962
 
963
+ #: includes/Commerce/Orders.php:864
964
  msgid "Other"
965
  msgstr ""
966
 
967
+ #: includes/Handlers/Connection.php:324
968
  msgid "Connection successful!"
969
  msgstr ""
970
 
971
+ #: includes/Handlers/Connection.php:355
972
  msgid "You do not have permission to uninstall Facebook Business Extension."
973
  msgstr ""
974
 
975
+ #: includes/Handlers/Connection.php:365
976
  msgid "Disconnection successful."
977
  msgstr ""
978
 
979
+ #: includes/Handlers/Connection.php:430
980
  #. translators: Placeholders: %s - API error message
981
  msgid "Could not retrieve page access data. %s"
982
  msgstr ""
983
 
984
+ #: includes/Handlers/Connection.php:444
985
  #. translators: Placeholders: %s - Facebook page ID
986
  msgid "Page %s not authorized."
987
  msgstr ""
988
 
989
+ #: includes/Handlers/Connection.php:1387
990
  msgid "You do not have permission to finish App Store login."
991
  msgstr ""
992
 
1022
  msgid "If product is not simple, variable or variation it must have a price."
1023
  msgstr ""
1024
 
1025
+ #: includes/Products/Sync/Background.php:69
1026
  msgid "Job data key \"%s\" not set"
1027
  msgstr ""
1028
 
1029
+ #: includes/Products/Sync/Background.php:73
1030
  msgid "Job data key \"%s\" is not an array"
1031
  msgstr ""
1032
 
1033
+ #: includes/Products/Sync/Background.php:158
1034
  msgid ""
1035
  "There was an error trying sync products using the Catalog Batch API for job "
1036
  "%1$s: %2$s"
1037
  msgstr ""
1038
 
1039
+ #: includes/fbgraph.php:106
1040
  msgid "HTTP %1$s: %2$s"
1041
  msgstr ""
1042
 
1043
+ #: includes/fbinfobanner.php:212
1044
  msgid "Click and redirect."
1045
  msgstr ""
1046
 
1047
+ #: includes/fbinfobanner.php:213
1048
  msgid "Dismiss this notice."
1049
  msgstr ""
1050
 
1051
+ #: includes/fbinfobanner.php:213
1052
  msgid "Dismiss"
1053
  msgstr ""
1054
 
1055
+ #: includes/fbproductfeed.php:470
1056
  msgid "Could not create product catalog feed directory"
1057
  msgstr ""
1058
 
1059
+ #: includes/fbproductfeed.php:535
1060
  msgid "Could not open the product catalog temporary feed file for writing"
1061
  msgstr ""
1062
 
1063
+ #: includes/fbproductfeed.php:542
1064
  msgid "Could not open the product catalog feed file for writing"
1065
  msgstr ""
1066
 
1067
+ #: includes/fbproductfeed.php:585
1068
  msgid "Could not rename the product catalog feed file"
1069
  msgstr ""
1070
 
1071
+ #: includes/fbwpml.php:115
1072
  msgid "Facebook Visibility"
1073
  msgstr ""
1074
 
1075
+ #: includes/fbwpml.php:118
1076
  msgid ""
1077
  "WooCommerce Products with languages that are selected here will be visible "
1078
  "to customers who see your Facebook Shop."
1079
  msgstr ""
1080
 
1081
+ #: includes/fbwpml.php:135
1082
  msgid ""
1083
  "Saved. An automated sync from Facebook will run every hour to update the "
1084
  "catalog with any changes you've made."
1085
  msgstr ""
1086
 
1087
+ #: includes/fbwpml.php:141
1088
  msgid "Save"
1089
  msgstr ""
1090
 
1105
  msgid "https://www.facebook.com/"
1106
  msgstr ""
1107
 
1108
+ #: includes/Locale.php:181
1109
  msgctxt "language"
1110
  msgid "English (United States)"
1111
  msgstr ""
includes/AJAX.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Product_Group/Products/Read/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Product_Group/Products/Read/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Product_Item/Find/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Product_Item/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Send_Item_Updates/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Catalog/Send_Item_Updates/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Exceptions/Request_Limit_Reached.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Configuration/Messenger.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Configuration/Read/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Configuration/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Configuration/Update/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Installation/Read/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Installation/Read/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/FBE/Installation/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Abstract_Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Acknowledge/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Cancel/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Fulfillment/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Order.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Read/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Read/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Refund/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Orders/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Pages/Read/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Pages/Read/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Pixel/Events/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Traits/Idempotent_Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Traits/Paginated_Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Traits/Rate_Limited_API.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Traits/Rate_Limited_Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/Traits/Rate_Limited_Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/User/Permissions/Delete/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/User/Request.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/API/User/Response.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Abstract_Settings_Screen.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Enhanced_Catalog_Attribute_Fields.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Google_Product_Category_Field.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Product_Categories.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Product_Sets.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Products.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings_Screens/Advertise.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings_Screens/Connection.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings_Screens/Messenger.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings_Screens/Product_Sets.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Admin/Settings_Screens/Product_Sync.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Commerce.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Commerce/Orders.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Debug/ProfilingLogger.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Debug;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Debug;
5
 
includes/Debug/ProfilingLoggerProcess.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Debug;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Debug;
5
 
includes/Events/AAMSettings.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Events/Event.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Events/Normalizer.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Exceptions/ConnectWCAPIException.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\API\Exceptions;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\API\Exceptions;
5
 
includes/Handlers/Connection.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Handlers/WebHook.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Integrations/Bookings.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Integrations/Integrations.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Jobs/AbstractChainedJob.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
5
 
includes/Jobs/GenerateProductFeed.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
5
 
includes/Jobs/JobRegistry.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
5
 
includes/Jobs/LoggingTrait.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Jobs;
5
 
includes/Lifecycle.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Locale.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/ProductSets/Sync.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Product_Categories.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products/FBCategories.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products/Feed.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products/Stock.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products/Sync.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Products/Sync/Background.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Utilities/Background_Handle_Virtual_Products_Variations.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Utilities/Background_Remove_Duplicate_Visibility_Meta.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Utilities/Heartbeat.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
 
3
  namespace SkyVerge\WooCommerce\Facebook\Utilities;
4
 
1
  <?php
2
+ // phpcs:ignoreFile
3
 
4
  namespace SkyVerge\WooCommerce\Facebook\Utilities;
5
 
includes/Utilities/Shipment.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/Utilities/Tracker.php CHANGED
@@ -126,8 +126,8 @@ class Tracker {
126
  * @since 2.6.0
127
  */
128
  $config = get_transient( self::TRANSIENT_WCTRACKER_FBE_BUSINESS_CONFIG );
129
- $data['extensions']['facebook-for-woocommerce']['instagram-shopping-enabled'] = wc_bool_to_string( $config ?: $config->ig_shopping_enabled );
130
- $data['extensions']['facebook-for-woocommerce']['instagram-cta-enabled'] = wc_bool_to_string( $config ?: $config->ig_cta_enabled );
131
 
132
  /**
133
  * Feed pull / upload settings configured in Facebook UI.
@@ -140,10 +140,11 @@ class Tracker {
140
  }
141
 
142
  /**
143
- * Update transient with feed file generation time (in seconds).
144
  *
145
  * Note this is used to clear the transient (set to -1) to track feed generation failure.
146
  *
 
147
  * @since 2.6.0
148
  */
149
  public function track_feed_file_generation_time( $time_in_seconds ) {
@@ -172,8 +173,8 @@ class Tracker {
172
  bool $ig_cta_enabled
173
  ) {
174
  $transient = array(
175
- 'ig_shopping_enabled' => $ig_shopping_enabled,
176
- 'ig_cta_enabled' => $ig_cta_enabled,
177
  );
178
  set_transient( self::TRANSIENT_WCTRACKER_FBE_BUSINESS_CONFIG, $transient, self::TRANSIENT_WCTRACKER_LIFE_TIME );
179
  }
126
  * @since 2.6.0
127
  */
128
  $config = get_transient( self::TRANSIENT_WCTRACKER_FBE_BUSINESS_CONFIG );
129
+ $data['extensions']['facebook-for-woocommerce']['instagram-shopping-enabled'] = wc_bool_to_string( $config ? $config->ig_shopping_enabled : false );
130
+ $data['extensions']['facebook-for-woocommerce']['instagram-cta-enabled'] = wc_bool_to_string( $config ? $config->ig_cta_enabled : false );
131
 
132
  /**
133
  * Feed pull / upload settings configured in Facebook UI.
140
  }
141
 
142
  /**
143
+ * Update transient with feed file generation time.
144
  *
145
  * Note this is used to clear the transient (set to -1) to track feed generation failure.
146
  *
147
+ * @param float $time_in_seconds Time taken to generate feed file (in seconds).
148
  * @since 2.6.0
149
  */
150
  public function track_feed_file_generation_time( $time_in_seconds ) {
173
  bool $ig_cta_enabled
174
  ) {
175
  $transient = array(
176
+ 'ig_shopping_enabled' => $ig_shopping_enabled,
177
+ 'ig_cta_enabled' => $ig_cta_enabled,
178
  );
179
  set_transient( self::TRANSIENT_WCTRACKER_FBE_BUSINESS_CONFIG, $transient, self::TRANSIENT_WCTRACKER_LIFE_TIME );
180
  }
includes/fbasync.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/fbbackground.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/fbgraph.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
@@ -25,7 +26,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_Graph_API' ) ) :
25
  */
26
  class WC_Facebookcommerce_Graph_API {
27
  const GRAPH_API_URL = 'https://graph.facebook.com/';
28
- const API_VERSION = 'v9.0';
29
  const CURL_TIMEOUT = 500;
30
 
31
  /**
@@ -393,7 +394,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_Graph_API' ) ) :
393
  }
394
 
395
  public function delete_product_group( $product_group_id ) {
396
- $product_group_url = $this->build_url( $product_group_id );
397
  return self::_delete( $product_group_url );
398
  }
399
 
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
26
  */
27
  class WC_Facebookcommerce_Graph_API {
28
  const GRAPH_API_URL = 'https://graph.facebook.com/';
29
+ const API_VERSION = 'v11.0';
30
  const CURL_TIMEOUT = 500;
31
 
32
  /**
394
  }
395
 
396
  public function delete_product_group( $product_group_id ) {
397
+ $product_group_url = $this->build_url( $product_group_id, '?deletion_method=delete_items' );
398
  return self::_delete( $product_group_url );
399
  }
400
 
includes/fbinfobanner.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/fbproduct.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
@@ -603,9 +604,9 @@ if ( ! class_exists( 'WC_Facebook_Product' ) ) :
603
  $product_data = $this->apply_enhanced_catalog_fields_from_attributes( $product_data, $google_product_category );
604
  }
605
 
606
- // add the Commerce values (only inventory for the moment)
607
  if ( Products::is_product_ready_for_commerce( $this->woo_product ) ) {
608
- $product_data['inventory'] = (int) max( 0, $this->woo_product->get_stock_quantity() );
609
  }
610
 
611
  // Only use checkout URLs if they exist.
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
604
  $product_data = $this->apply_enhanced_catalog_fields_from_attributes( $product_data, $google_product_category );
605
  }
606
 
607
+ // add the Commerce values (only stock quantity for the moment)
608
  if ( Products::is_product_ready_for_commerce( $this->woo_product ) ) {
609
+ $product_data['quantity_to_sell_on_facebook'] = (int) max( 0, $this->woo_product->get_stock_quantity() );
610
  }
611
 
612
  // Only use checkout URLs if they exist.
includes/fbproductfeed.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/fbutils.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/fbwpml.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/test/facebook-integration-test.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
includes/test/fbproductfeed-test.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
  *
1
  <?php
2
+ // phpcs:ignoreFile
3
  /**
4
  * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
5
  *
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.7
6
- Stable tag: 2.6.1
7
  Requires PHP: 5.6 or greater
8
  MySQL: 5.6 or greater
9
  License: GPLv2 or later
@@ -39,8 +39,11 @@ When opening a bug on GitHub, please give us as many details as possible.
39
 
40
  == Changelog ==
41
 
42
- = 2.6.1 - 2021-06-28 =
43
- * Dev: Add `facebook_for_woocommerce_allow_full_batch_api_sync` filter to allow opt-out full batch API sync, to avoid possible performance issues on large sites
 
 
 
44
 
45
  = 2.6.0 - 2021-06-10 =
46
  * Fix – Add cron heartbeat and use to offload feed generation from init / admin_init (performance) #1953
3
  Tags: facebook, shop, catalog, advertise, pixel, product
4
  Requires at least: 4.4
5
  Tested up to: 5.7
6
+ Stable tag: 2.6.2
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.2 - 2021-08-31 =
43
+ * Fix - Update the Facebook Marketing API to version 11
44
+
45
+ = 2.6.1 - 2021-06-28 =
46
+ * Dev - Add `facebook_for_woocommerce_allow_full_batch_api_sync` filter to allow opt-out full batch API sync, to avoid possible performance issues on large sites
47
 
48
  = 2.6.0 - 2021-06-10 =
49
  * Fix – Add cron heartbeat and use to offload feed generation from init / admin_init (performance) #1953
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3f790c8865bba7f592bf745823388190::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit043fc3052dc5d3c89fe55e2b261b67ed::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -37,11 +37,13 @@ namespace Composer\Autoload;
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
- * @see http://www.php-fig.org/psr/psr-0/
41
- * @see http://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
 
 
45
  // PSR-4
46
  private $prefixLengthsPsr4 = array();
47
  private $prefixDirsPsr4 = array();
@@ -57,6 +59,13 @@ class ClassLoader
57
  private $missingClasses = array();
58
  private $apcuPrefix;
59
 
 
 
 
 
 
 
 
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
@@ -300,6 +309,17 @@ class ClassLoader
300
  public function register($prepend = false)
301
  {
302
  spl_autoload_register(array($this, 'loadClass'), true, $prepend);
 
 
 
 
 
 
 
 
 
 
 
303
  }
304
 
305
  /**
@@ -308,13 +328,17 @@ class ClassLoader
308
  public function unregister()
309
  {
310
  spl_autoload_unregister(array($this, 'loadClass'));
 
 
 
 
311
  }
312
 
313
  /**
314
  * Loads the given class or interface.
315
  *
316
  * @param string $class The name of the class
317
- * @return bool|null True if loaded, null otherwise
318
  */
319
  public function loadClass($class)
320
  {
@@ -323,6 +347,8 @@ class ClassLoader
323
 
324
  return true;
325
  }
 
 
326
  }
327
 
328
  /**
@@ -367,6 +393,16 @@ class ClassLoader
367
  return $file;
368
  }
369
 
 
 
 
 
 
 
 
 
 
 
370
  private function findFileWithExtension($class, $ext)
371
  {
372
  // PSR-4 lookup
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
+ * @see https://www.php-fig.org/psr/psr-0/
41
+ * @see https://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
45
+ private $vendorDir;
46
+
47
  // PSR-4
48
  private $prefixLengthsPsr4 = array();
49
  private $prefixDirsPsr4 = array();
59
  private $missingClasses = array();
60
  private $apcuPrefix;
61
 
62
+ private static $registeredLoaders = array();
63
+
64
+ public function __construct($vendorDir = null)
65
+ {
66
+ $this->vendorDir = $vendorDir;
67
+ }
68
+
69
  public function getPrefixes()
70
  {
71
  if (!empty($this->prefixesPsr0)) {
309
  public function register($prepend = false)
310
  {
311
  spl_autoload_register(array($this, 'loadClass'), true, $prepend);
312
+
313
+ if (null === $this->vendorDir) {
314
+ return;
315
+ }
316
+
317
+ if ($prepend) {
318
+ self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
319
+ } else {
320
+ unset(self::$registeredLoaders[$this->vendorDir]);
321
+ self::$registeredLoaders[$this->vendorDir] = $this;
322
+ }
323
  }
324
 
325
  /**
328
  public function unregister()
329
  {
330
  spl_autoload_unregister(array($this, 'loadClass'));
331
+
332
+ if (null !== $this->vendorDir) {
333
+ unset(self::$registeredLoaders[$this->vendorDir]);
334
+ }
335
  }
336
 
337
  /**
338
  * Loads the given class or interface.
339
  *
340
  * @param string $class The name of the class
341
+ * @return true|null True if loaded, null otherwise
342
  */
343
  public function loadClass($class)
344
  {
347
 
348
  return true;
349
  }
350
+
351
+ return null;
352
  }
353
 
354
  /**
393
  return $file;
394
  }
395
 
396
+ /**
397
+ * Returns the currently registered loaders indexed by their corresponding vendor directories.
398
+ *
399
+ * @return self[]
400
+ */
401
+ public static function getRegisteredLoaders()
402
+ {
403
+ return self::$registeredLoaders;
404
+ }
405
+
406
  private function findFileWithExtension($class, $ext)
407
  {
408
  // PSR-4 lookup
vendor/composer/InstalledVersions.php ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of Composer.
5
+ *
6
+ * (c) Nils Adermann <naderman@naderman.de>
7
+ * Jordi Boggiano <j.boggiano@seld.be>
8
+ *
9
+ * For the full copyright and license information, please view the LICENSE
10
+ * file that was distributed with this source code.
11
+ */
12
+
13
+ namespace Composer;
14
+
15
+ use Composer\Autoload\ClassLoader;
16
+ use Composer\Semver\VersionParser;
17
+
18
+ /**
19
+ * This class is copied in every Composer installed project and available to all
20
+ *
21
+ * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
+ *
23
+ * To require it's presence, you can require `composer-runtime-api ^2.0`
24
+ */
25
+ class InstalledVersions
26
+ {
27
+ private static $installed;
28
+ private static $canGetVendors;
29
+ private static $installedByVendor = array();
30
+
31
+ /**
32
+ * Returns a list of all package names which are present, either by being installed, replaced or provided
33
+ *
34
+ * @return string[]
35
+ * @psalm-return list<string>
36
+ */
37
+ public static function getInstalledPackages()
38
+ {
39
+ $packages = array();
40
+ foreach (self::getInstalled() as $installed) {
41
+ $packages[] = array_keys($installed['versions']);
42
+ }
43
+
44
+ if (1 === \count($packages)) {
45
+ return $packages[0];
46
+ }
47
+
48
+ return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
49
+ }
50
+
51
+ /**
52
+ * Returns a list of all package names with a specific type e.g. 'library'
53
+ *
54
+ * @param string $type
55
+ * @return string[]
56
+ * @psalm-return list<string>
57
+ */
58
+ public static function getInstalledPackagesByType($type)
59
+ {
60
+ $packagesByType = array();
61
+
62
+ foreach (self::getInstalled() as $installed) {
63
+ foreach ($installed['versions'] as $name => $package) {
64
+ if (isset($package['type']) && $package['type'] === $type) {
65
+ $packagesByType[] = $name;
66
+ }
67
+ }
68
+ }
69
+
70
+ return $packagesByType;
71
+ }
72
+
73
+ /**
74
+ * Checks whether the given package is installed
75
+ *
76
+ * This also returns true if the package name is provided or replaced by another package
77
+ *
78
+ * @param string $packageName
79
+ * @param bool $includeDevRequirements
80
+ * @return bool
81
+ */
82
+ public static function isInstalled($packageName, $includeDevRequirements = true)
83
+ {
84
+ foreach (self::getInstalled() as $installed) {
85
+ if (isset($installed['versions'][$packageName])) {
86
+ return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
87
+ }
88
+ }
89
+
90
+ return false;
91
+ }
92
+
93
+ /**
94
+ * Checks whether the given package satisfies a version constraint
95
+ *
96
+ * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
97
+ *
98
+ * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
99
+ *
100
+ * @param VersionParser $parser Install composer/semver to have access to this class and functionality
101
+ * @param string $packageName
102
+ * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
103
+ * @return bool
104
+ */
105
+ public static function satisfies(VersionParser $parser, $packageName, $constraint)
106
+ {
107
+ $constraint = $parser->parseConstraints($constraint);
108
+ $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
109
+
110
+ return $provided->matches($constraint);
111
+ }
112
+
113
+ /**
114
+ * Returns a version constraint representing all the range(s) which are installed for a given package
115
+ *
116
+ * It is easier to use this via isInstalled() with the $constraint argument if you need to check
117
+ * whether a given version of a package is installed, and not just whether it exists
118
+ *
119
+ * @param string $packageName
120
+ * @return string Version constraint usable with composer/semver
121
+ */
122
+ public static function getVersionRanges($packageName)
123
+ {
124
+ foreach (self::getInstalled() as $installed) {
125
+ if (!isset($installed['versions'][$packageName])) {
126
+ continue;
127
+ }
128
+
129
+ $ranges = array();
130
+ if (isset($installed['versions'][$packageName]['pretty_version'])) {
131
+ $ranges[] = $installed['versions'][$packageName]['pretty_version'];
132
+ }
133
+ if (array_key_exists('aliases', $installed['versions'][$packageName])) {
134
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
135
+ }
136
+ if (array_key_exists('replaced', $installed['versions'][$packageName])) {
137
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
138
+ }
139
+ if (array_key_exists('provided', $installed['versions'][$packageName])) {
140
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
141
+ }
142
+
143
+ return implode(' || ', $ranges);
144
+ }
145
+
146
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
147
+ }
148
+
149
+ /**
150
+ * @param string $packageName
151
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
152
+ */
153
+ public static function getVersion($packageName)
154
+ {
155
+ foreach (self::getInstalled() as $installed) {
156
+ if (!isset($installed['versions'][$packageName])) {
157
+ continue;
158
+ }
159
+
160
+ if (!isset($installed['versions'][$packageName]['version'])) {
161
+ return null;
162
+ }
163
+
164
+ return $installed['versions'][$packageName]['version'];
165
+ }
166
+
167
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
168
+ }
169
+
170
+ /**
171
+ * @param string $packageName
172
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
173
+ */
174
+ public static function getPrettyVersion($packageName)
175
+ {
176
+ foreach (self::getInstalled() as $installed) {
177
+ if (!isset($installed['versions'][$packageName])) {
178
+ continue;
179
+ }
180
+
181
+ if (!isset($installed['versions'][$packageName]['pretty_version'])) {
182
+ return null;
183
+ }
184
+
185
+ return $installed['versions'][$packageName]['pretty_version'];
186
+ }
187
+
188
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
189
+ }
190
+
191
+ /**
192
+ * @param string $packageName
193
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
194
+ */
195
+ public static function getReference($packageName)
196
+ {
197
+ foreach (self::getInstalled() as $installed) {
198
+ if (!isset($installed['versions'][$packageName])) {
199
+ continue;
200
+ }
201
+
202
+ if (!isset($installed['versions'][$packageName]['reference'])) {
203
+ return null;
204
+ }
205
+
206
+ return $installed['versions'][$packageName]['reference'];
207
+ }
208
+
209
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
210
+ }
211
+
212
+ /**
213
+ * @param string $packageName
214
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
215
+ */
216
+ public static function getInstallPath($packageName)
217
+ {
218
+ foreach (self::getInstalled() as $installed) {
219
+ if (!isset($installed['versions'][$packageName])) {
220
+ continue;
221
+ }
222
+
223
+ return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
224
+ }
225
+
226
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
227
+ }
228
+
229
+ /**
230
+ * @return array
231
+ * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
232
+ */
233
+ public static function getRootPackage()
234
+ {
235
+ $installed = self::getInstalled();
236
+
237
+ return $installed[0]['root'];
238
+ }
239
+
240
+ /**
241
+ * Returns the raw installed.php data for custom implementations
242
+ *
243
+ * @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.
244
+ * @return array[]
245
+ * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
246
+ */
247
+ public static function getRawData()
248
+ {
249
+ @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
250
+
251
+ if (null === self::$installed) {
252
+ // only require the installed.php file if this file is loaded from its dumped location,
253
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
254
+ if (substr(__DIR__, -8, 1) !== 'C') {
255
+ self::$installed = include __DIR__ . '/installed.php';
256
+ } else {
257
+ self::$installed = array();
258
+ }
259
+ }
260
+
261
+ return self::$installed;
262
+ }
263
+
264
+ /**
265
+ * Returns the raw data of all installed.php which are currently loaded for custom implementations
266
+ *
267
+ * @return array[]
268
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
269
+ */
270
+ public static function getAllRawData()
271
+ {
272
+ return self::getInstalled();
273
+ }
274
+
275
+ /**
276
+ * Lets you reload the static array from another file
277
+ *
278
+ * This is only useful for complex integrations in which a project needs to use
279
+ * this class but then also needs to execute another project's autoloader in process,
280
+ * and wants to ensure both projects have access to their version of installed.php.
281
+ *
282
+ * A typical case would be PHPUnit, where it would need to make sure it reads all
283
+ * the data it needs from this class, then call reload() with
284
+ * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
285
+ * the project in which it runs can then also use this class safely, without
286
+ * interference between PHPUnit's dependencies and the project's dependencies.
287
+ *
288
+ * @param array[] $data A vendor/composer/installed.php data set
289
+ * @return void
290
+ *
291
+ * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
292
+ */
293
+ public static function reload($data)
294
+ {
295
+ self::$installed = $data;
296
+ self::$installedByVendor = array();
297
+ }
298
+
299
+ /**
300
+ * @return array[]
301
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
302
+ */
303
+ private static function getInstalled()
304
+ {
305
+ if (null === self::$canGetVendors) {
306
+ self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
307
+ }
308
+
309
+ $installed = array();
310
+
311
+ if (self::$canGetVendors) {
312
+ foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
313
+ if (isset(self::$installedByVendor[$vendorDir])) {
314
+ $installed[] = self::$installedByVendor[$vendorDir];
315
+ } elseif (is_file($vendorDir.'/composer/installed.php')) {
316
+ $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
317
+ if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
318
+ self::$installed = $installed[count($installed) - 1];
319
+ }
320
+ }
321
+ }
322
+ }
323
+
324
+ if (null === self::$installed) {
325
+ // only require the installed.php file if this file is loaded from its dumped location,
326
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
327
+ if (substr(__DIR__, -8, 1) !== 'C') {
328
+ self::$installed = require __DIR__ . '/installed.php';
329
+ } else {
330
+ self::$installed = array();
331
+ }
332
+ }
333
+ $installed[] = self::$installed;
334
+
335
+ return $installed;
336
+ }
337
+ }
vendor/composer/autoload_classmap.php CHANGED
@@ -6,4 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
9
  );
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
+ 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
  );
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3f790c8865bba7f592bf745823388190
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,17 @@ class ComposerAutoloaderInit3f790c8865bba7f592bf745823388190
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit3f790c8865bba7f592bf745823388190', 'loadClassLoader'), true, true);
26
- self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit3f790c8865bba7f592bf745823388190', 'loadClassLoader'));
 
 
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
- require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit3f790c8865bba7f592bf745823388190::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit043fc3052dc5d3c89fe55e2b261b67ed
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ require __DIR__ . '/platform_check.php';
26
+
27
+ spl_autoload_register(array('ComposerAutoloaderInit043fc3052dc5d3c89fe55e2b261b67ed', 'loadClassLoader'), true, true);
28
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit043fc3052dc5d3c89fe55e2b261b67ed', '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\ComposerStaticInit043fc3052dc5d3c89fe55e2b261b67ed::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 ComposerStaticInit3f790c8865bba7f592bf745823388190
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
@@ -36,11 +36,16 @@ class ComposerStaticInit3f790c8865bba7f592bf745823388190
36
  ),
37
  );
38
 
 
 
 
 
39
  public static function getInitializer(ClassLoader $loader)
40
  {
41
  return \Closure::bind(function () use ($loader) {
42
- $loader->prefixLengthsPsr4 = ComposerStaticInit3f790c8865bba7f592bf745823388190::$prefixLengthsPsr4;
43
- $loader->prefixDirsPsr4 = ComposerStaticInit3f790c8865bba7f592bf745823388190::$prefixDirsPsr4;
 
44
 
45
  }, null, ClassLoader::class);
46
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit043fc3052dc5d3c89fe55e2b261b67ed
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'S' =>
36
  ),
37
  );
38
 
39
+ public static $classMap = array (
40
+ 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
41
+ );
42
+
43
  public static function getInitializer(ClassLoader $loader)
44
  {
45
  return \Closure::bind(function () use ($loader) {
46
+ $loader->prefixLengthsPsr4 = ComposerStaticInit043fc3052dc5d3c89fe55e2b261b67ed::$prefixLengthsPsr4;
47
+ $loader->prefixDirsPsr4 = ComposerStaticInit043fc3052dc5d3c89fe55e2b261b67ed::$prefixDirsPsr4;
48
+ $loader->classMap = ComposerStaticInit043fc3052dc5d3c89fe55e2b261b67ed::$classMap;
49
 
50
  }, null, ClassLoader::class);
51
  }
vendor/composer/installed.json CHANGED
@@ -1,224 +1,231 @@
1
- [
2
- {
3
- "name": "composer/installers",
4
- "version": "v1.11.0",
5
- "version_normalized": "1.11.0.0",
6
- "source": {
7
- "type": "git",
8
- "url": "https://github.com/composer/installers.git",
9
- "reference": "ae03311f45dfe194412081526be2e003960df74b"
10
- },
11
- "dist": {
12
- "type": "zip",
13
- "url": "https://api.github.com/repos/composer/installers/zipball/ae03311f45dfe194412081526be2e003960df74b",
14
- "reference": "ae03311f45dfe194412081526be2e003960df74b",
15
- "shasum": ""
16
- },
17
- "require": {
18
- "composer-plugin-api": "^1.0 || ^2.0"
19
- },
20
- "replace": {
21
- "roundcube/plugin-installer": "*",
22
- "shama/baton": "*"
23
- },
24
- "require-dev": {
25
- "composer/composer": "1.6.* || ^2.0",
26
- "composer/semver": "^1 || ^3",
27
- "phpstan/phpstan": "^0.12.55",
28
- "phpstan/phpstan-phpunit": "^0.12.16",
29
- "symfony/phpunit-bridge": "^4.2 || ^5",
30
- "symfony/process": "^2.3"
31
- },
32
- "time": "2021-04-28T06:42:17+00:00",
33
- "type": "composer-plugin",
34
- "extra": {
35
- "class": "Composer\\Installers\\Plugin",
36
- "branch-alias": {
37
- "dev-main": "1.x-dev"
38
- }
39
- },
40
- "installation-source": "dist",
41
- "autoload": {
42
- "psr-4": {
43
- "Composer\\Installers\\": "src/Composer/Installers"
44
- }
45
- },
46
- "notification-url": "https://packagist.org/downloads/",
47
- "license": [
48
- "MIT"
49
- ],
50
- "authors": [
51
- {
52
- "name": "Kyle Robinson Young",
53
- "email": "kyle@dontkry.com",
54
- "homepage": "https://github.com/shama"
55
- }
56
- ],
57
- "description": "A multi-framework Composer library installer",
58
- "homepage": "https://composer.github.io/installers/",
59
- "keywords": [
60
- "Craft",
61
- "Dolibarr",
62
- "Eliasis",
63
- "Hurad",
64
- "ImageCMS",
65
- "Kanboard",
66
- "Lan Management System",
67
- "MODX Evo",
68
- "MantisBT",
69
- "Mautic",
70
- "Maya",
71
- "OXID",
72
- "Plentymarkets",
73
- "Porto",
74
- "RadPHP",
75
- "SMF",
76
- "Starbug",
77
- "Thelia",
78
- "Whmcs",
79
- "WolfCMS",
80
- "agl",
81
- "aimeos",
82
- "annotatecms",
83
- "attogram",
84
- "bitrix",
85
- "cakephp",
86
- "chef",
87
- "cockpit",
88
- "codeigniter",
89
- "concrete5",
90
- "croogo",
91
- "dokuwiki",
92
- "drupal",
93
- "eZ Platform",
94
- "elgg",
95
- "expressionengine",
96
- "fuelphp",
97
- "grav",
98
- "installer",
99
- "itop",
100
- "joomla",
101
- "known",
102
- "kohana",
103
- "laravel",
104
- "lavalite",
105
- "lithium",
106
- "magento",
107
- "majima",
108
- "mako",
109
- "mediawiki",
110
- "miaoxing",
111
- "modulework",
112
- "modx",
113
- "moodle",
114
- "osclass",
115
- "phpbb",
116
- "piwik",
117
- "ppi",
118
- "processwire",
119
- "puppet",
120
- "pxcms",
121
- "reindex",
122
- "roundcube",
123
- "shopware",
124
- "silverstripe",
125
- "sydes",
126
- "sylius",
127
- "symfony",
128
- "tastyigniter",
129
- "typo3",
130
- "wordpress",
131
- "yawik",
132
- "zend",
133
- "zikula"
134
- ],
135
- "support": {
136
- "issues": "https://github.com/composer/installers/issues",
137
- "source": "https://github.com/composer/installers/tree/v1.11.0"
138
- },
139
- "funding": [
140
- {
141
- "url": "https://packagist.com",
142
- "type": "custom"
143
- },
144
- {
145
- "url": "https://github.com/composer",
146
- "type": "github"
147
- },
148
- {
149
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
150
- "type": "tidelift"
151
- }
152
- ]
153
- },
154
- {
155
- "name": "skyverge/wc-plugin-framework",
156
- "version": "5.10.0",
157
- "version_normalized": "5.10.0.0",
158
- "source": {
159
- "type": "git",
160
- "url": "https://github.com/skyverge/wc-plugin-framework.git",
161
- "reference": "e230d7c40286854e49c0cafeec3398cbf2427a64"
162
- },
163
- "dist": {
164
- "type": "zip",
165
- "url": "https://api.github.com/repos/skyverge/wc-plugin-framework/zipball/e230d7c40286854e49c0cafeec3398cbf2427a64",
166
- "reference": "e230d7c40286854e49c0cafeec3398cbf2427a64",
167
- "shasum": ""
168
- },
169
- "require-dev": {
170
- "lucatume/wp-browser": "^2.1"
171
- },
172
- "time": "2020-11-06T21:25:49+00:00",
173
- "type": "library",
174
- "installation-source": "dist",
175
- "description": "The official SkyVerge WooCommerce plugin framework",
176
- "support": {
177
- "source": "https://github.com/skyverge/wc-plugin-framework/tree/5.10.0",
178
- "issues": "https://github.com/skyverge/wc-plugin-framework/issues"
179
- }
180
- },
181
- {
182
- "name": "woocommerce/action-scheduler-job-framework",
183
- "version": "1.0.0",
184
- "version_normalized": "1.0.0.0",
185
- "source": {
186
- "type": "git",
187
- "url": "https://github.com/woocommerce/action-scheduler-job-framework.git",
188
- "reference": "718594e15d7ba2d56f8a37743bda6d7a8296e1c8"
189
- },
190
- "dist": {
191
- "type": "zip",
192
- "url": "https://api.github.com/repos/woocommerce/action-scheduler-job-framework/zipball/718594e15d7ba2d56f8a37743bda6d7a8296e1c8",
193
- "reference": "718594e15d7ba2d56f8a37743bda6d7a8296e1c8",
194
- "shasum": ""
195
- },
196
- "require": {
197
- "php": ">=7.0"
198
- },
199
- "require-dev": {
200
- "woocommerce/woocommerce-sniffs": "0.1.0"
201
- },
202
- "time": "2021-05-05T02:11:38+00:00",
203
- "type": "library",
204
- "installation-source": "dist",
205
- "autoload": {
206
- "psr-4": {
207
- "Automattic\\WooCommerce\\ActionSchedulerJobFramework\\": "src/"
208
- }
209
- },
210
- "scripts": {
211
- "phpcs": [
212
- "phpcs -s -p"
213
- ]
214
- },
215
- "license": [
216
- "GNU"
217
- ],
218
- "description": "A job framework for Action Scheduler (actionscheduler.org)",
219
- "support": {
220
- "source": "https://github.com/woocommerce/action-scheduler-job-framework/tree/1.0.0",
221
- "issues": "https://github.com/woocommerce/action-scheduler-job-framework/issues"
 
 
 
 
 
222
  }
223
- }
224
- ]
 
 
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "composer/installers",
5
+ "version": "v1.11.0",
6
+ "version_normalized": "1.11.0.0",
7
+ "source": {
8
+ "type": "git",
9
+ "url": "https://github.com/composer/installers.git",
10
+ "reference": "ae03311f45dfe194412081526be2e003960df74b"
11
+ },
12
+ "dist": {
13
+ "type": "zip",
14
+ "url": "https://api.github.com/repos/composer/installers/zipball/ae03311f45dfe194412081526be2e003960df74b",
15
+ "reference": "ae03311f45dfe194412081526be2e003960df74b",
16
+ "shasum": ""
17
+ },
18
+ "require": {
19
+ "composer-plugin-api": "^1.0 || ^2.0"
20
+ },
21
+ "replace": {
22
+ "roundcube/plugin-installer": "*",
23
+ "shama/baton": "*"
24
+ },
25
+ "require-dev": {
26
+ "composer/composer": "1.6.* || ^2.0",
27
+ "composer/semver": "^1 || ^3",
28
+ "phpstan/phpstan": "^0.12.55",
29
+ "phpstan/phpstan-phpunit": "^0.12.16",
30
+ "symfony/phpunit-bridge": "^4.2 || ^5",
31
+ "symfony/process": "^2.3"
32
+ },
33
+ "time": "2021-04-28T06:42:17+00:00",
34
+ "type": "composer-plugin",
35
+ "extra": {
36
+ "class": "Composer\\Installers\\Plugin",
37
+ "branch-alias": {
38
+ "dev-main": "1.x-dev"
39
+ }
40
+ },
41
+ "installation-source": "dist",
42
+ "autoload": {
43
+ "psr-4": {
44
+ "Composer\\Installers\\": "src/Composer/Installers"
45
+ }
46
+ },
47
+ "notification-url": "https://packagist.org/downloads/",
48
+ "license": [
49
+ "MIT"
50
+ ],
51
+ "authors": [
52
+ {
53
+ "name": "Kyle Robinson Young",
54
+ "email": "kyle@dontkry.com",
55
+ "homepage": "https://github.com/shama"
56
+ }
57
+ ],
58
+ "description": "A multi-framework Composer library installer",
59
+ "homepage": "https://composer.github.io/installers/",
60
+ "keywords": [
61
+ "Craft",
62
+ "Dolibarr",
63
+ "Eliasis",
64
+ "Hurad",
65
+ "ImageCMS",
66
+ "Kanboard",
67
+ "Lan Management System",
68
+ "MODX Evo",
69
+ "MantisBT",
70
+ "Mautic",
71
+ "Maya",
72
+ "OXID",
73
+ "Plentymarkets",
74
+ "Porto",
75
+ "RadPHP",
76
+ "SMF",
77
+ "Starbug",
78
+ "Thelia",
79
+ "Whmcs",
80
+ "WolfCMS",
81
+ "agl",
82
+ "aimeos",
83
+ "annotatecms",
84
+ "attogram",
85
+ "bitrix",
86
+ "cakephp",
87
+ "chef",
88
+ "cockpit",
89
+ "codeigniter",
90
+ "concrete5",
91
+ "croogo",
92
+ "dokuwiki",
93
+ "drupal",
94
+ "eZ Platform",
95
+ "elgg",
96
+ "expressionengine",
97
+ "fuelphp",
98
+ "grav",
99
+ "installer",
100
+ "itop",
101
+ "joomla",
102
+ "known",
103
+ "kohana",
104
+ "laravel",
105
+ "lavalite",
106
+ "lithium",
107
+ "magento",
108
+ "majima",
109
+ "mako",
110
+ "mediawiki",
111
+ "miaoxing",
112
+ "modulework",
113
+ "modx",
114
+ "moodle",
115
+ "osclass",
116
+ "phpbb",
117
+ "piwik",
118
+ "ppi",
119
+ "processwire",
120
+ "puppet",
121
+ "pxcms",
122
+ "reindex",
123
+ "roundcube",
124
+ "shopware",
125
+ "silverstripe",
126
+ "sydes",
127
+ "sylius",
128
+ "symfony",
129
+ "tastyigniter",
130
+ "typo3",
131
+ "wordpress",
132
+ "yawik",
133
+ "zend",
134
+ "zikula"
135
+ ],
136
+ "support": {
137
+ "issues": "https://github.com/composer/installers/issues",
138
+ "source": "https://github.com/composer/installers/tree/v1.11.0"
139
+ },
140
+ "funding": [
141
+ {
142
+ "url": "https://packagist.com",
143
+ "type": "custom"
144
+ },
145
+ {
146
+ "url": "https://github.com/composer",
147
+ "type": "github"
148
+ },
149
+ {
150
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
151
+ "type": "tidelift"
152
+ }
153
+ ],
154
+ "install-path": "./installers"
155
+ },
156
+ {
157
+ "name": "skyverge/wc-plugin-framework",
158
+ "version": "5.10.0",
159
+ "version_normalized": "5.10.0.0",
160
+ "source": {
161
+ "type": "git",
162
+ "url": "https://github.com/skyverge/wc-plugin-framework.git",
163
+ "reference": "e230d7c40286854e49c0cafeec3398cbf2427a64"
164
+ },
165
+ "dist": {
166
+ "type": "zip",
167
+ "url": "https://api.github.com/repos/skyverge/wc-plugin-framework/zipball/e230d7c40286854e49c0cafeec3398cbf2427a64",
168
+ "reference": "e230d7c40286854e49c0cafeec3398cbf2427a64",
169
+ "shasum": ""
170
+ },
171
+ "require-dev": {
172
+ "lucatume/wp-browser": "^2.1"
173
+ },
174
+ "time": "2020-11-06T21:25:49+00:00",
175
+ "type": "library",
176
+ "installation-source": "dist",
177
+ "description": "The official SkyVerge WooCommerce plugin framework",
178
+ "support": {
179
+ "source": "https://github.com/skyverge/wc-plugin-framework/tree/5.10.0",
180
+ "issues": "https://github.com/skyverge/wc-plugin-framework/issues"
181
+ },
182
+ "install-path": "../skyverge/wc-plugin-framework"
183
+ },
184
+ {
185
+ "name": "woocommerce/action-scheduler-job-framework",
186
+ "version": "1.0.0",
187
+ "version_normalized": "1.0.0.0",
188
+ "source": {
189
+ "type": "git",
190
+ "url": "https://github.com/woocommerce/action-scheduler-job-framework.git",
191
+ "reference": "718594e15d7ba2d56f8a37743bda6d7a8296e1c8"
192
+ },
193
+ "dist": {
194
+ "type": "zip",
195
+ "url": "https://api.github.com/repos/woocommerce/action-scheduler-job-framework/zipball/718594e15d7ba2d56f8a37743bda6d7a8296e1c8",
196
+ "reference": "718594e15d7ba2d56f8a37743bda6d7a8296e1c8",
197
+ "shasum": ""
198
+ },
199
+ "require": {
200
+ "php": ">=7.0"
201
+ },
202
+ "require-dev": {
203
+ "woocommerce/woocommerce-sniffs": "0.1.0"
204
+ },
205
+ "time": "2021-05-05T02:11:38+00:00",
206
+ "type": "library",
207
+ "installation-source": "dist",
208
+ "autoload": {
209
+ "psr-4": {
210
+ "Automattic\\WooCommerce\\ActionSchedulerJobFramework\\": "src/"
211
+ }
212
+ },
213
+ "scripts": {
214
+ "phpcs": [
215
+ "phpcs -s -p"
216
+ ]
217
+ },
218
+ "license": [
219
+ "GNU"
220
+ ],
221
+ "description": "A job framework for Action Scheduler (actionscheduler.org)",
222
+ "support": {
223
+ "source": "https://github.com/woocommerce/action-scheduler-job-framework/tree/1.0.0",
224
+ "issues": "https://github.com/woocommerce/action-scheduler-job-framework/issues"
225
+ },
226
+ "install-path": "../woocommerce/action-scheduler-job-framework"
227
  }
228
+ ],
229
+ "dev": false,
230
+ "dev-package-names": []
231
+ }
vendor/composer/installed.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => '29d0a7c9eecd63efa916936bb5302c9d12c3a5be',
9
+ 'name' => 'facebookincubator/facebook-for-woocommerce',
10
+ 'dev' => false,
11
+ ),
12
+ 'versions' => array(
13
+ 'composer/installers' => array(
14
+ 'pretty_version' => 'v1.11.0',
15
+ 'version' => '1.11.0.0',
16
+ 'type' => 'composer-plugin',
17
+ 'install_path' => __DIR__ . '/./installers',
18
+ 'aliases' => array(),
19
+ 'reference' => 'ae03311f45dfe194412081526be2e003960df74b',
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' => '29d0a7c9eecd63efa916936bb5302c9d12c3a5be',
29
+ 'dev_requirement' => false,
30
+ ),
31
+ 'roundcube/plugin-installer' => array(
32
+ 'dev_requirement' => false,
33
+ 'replaced' => array(
34
+ 0 => '*',
35
+ ),
36
+ ),
37
+ 'shama/baton' => array(
38
+ 'dev_requirement' => false,
39
+ 'replaced' => array(
40
+ 0 => '*',
41
+ ),
42
+ ),
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' => '1.0.0',
54
+ 'version' => '1.0.0.0',
55
+ 'type' => 'library',
56
+ 'install_path' => __DIR__ . '/../woocommerce/action-scheduler-job-framework',
57
+ 'aliases' => array(),
58
+ 'reference' => '718594e15d7ba2d56f8a37743bda6d7a8296e1c8',
59
+ 'dev_requirement' => false,
60
+ ),
61
+ ),
62
+ );
vendor/composer/platform_check.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // platform_check.php @generated by Composer
4
+
5
+ $issues = array();
6
+
7
+ if (!(PHP_VERSION_ID >= 70000)) {
8
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 7.0.0". You are running ' . PHP_VERSION . '.';
9
+ }
10
+
11
+ if ($issues) {
12
+ if (!headers_sent()) {
13
+ header('HTTP/1.1 500 Internal Server Error');
14
+ }
15
+ if (!ini_get('display_errors')) {
16
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17
+ fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
18
+ } elseif (!headers_sent()) {
19
+ echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
20
+ }
21
+ }
22
+ trigger_error(
23
+ 'Composer detected issues in your platform: ' . implode(' ', $issues),
24
+ E_USER_ERROR
25
+ );
26
+ }