Product Feed PRO for WooCommerce - Version 11.2.8

Version Description

Solved an array_key_exists error

Download this release

Release Info

Developer jorisverwater
Plugin Icon 128x128 Product Feed PRO for WooCommerce
Version 11.2.8
Comparing to
See all releases

Code changes from version 11.2.7 to 11.2.8

Files changed (3) hide show
  1. js/woosea_key.js +1 -1
  2. readme.txt +7 -1
  3. woocommerce-sea.php +8 -6
js/woosea_key.js CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.2.7',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.2.8',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.9
8
- Stable tag: 11.2.7
9
 
10
  == Description ==
11
 
@@ -337,6 +337,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
337
 
338
  === Changelog ===
339
 
 
 
 
340
  = 11.2.7 (2022-02-10) =
341
  * Fixed some minor CSS issues for the category mapping autosuggest
342
  * Changed plugin title in readme.txt file
@@ -3600,6 +3603,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3600
 
3601
  == Upgrade Notice ==
3602
 
 
 
 
3603
  = 11.2.7 =
3604
  Fixed some minor CSS issues for the category mapping autosuggest
3605
  Changed plugin title in readme.txt file
5
  Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.9
8
+ Stable tag: 11.2.8
9
 
10
  == Description ==
11
 
337
 
338
  === Changelog ===
339
 
340
+ = 11.2.8 (2022-02-12) =
341
+ * Solved an array_key_exists error
342
+
343
  = 11.2.7 (2022-02-10) =
344
  * Fixed some minor CSS issues for the category mapping autosuggest
345
  * Changed plugin title in readme.txt file
3603
 
3604
  == Upgrade Notice ==
3605
 
3606
+ = 11.2.8 =
3607
+ Solved an array_key_exists error
3608
+
3609
  = 11.2.7 =
3610
  Fixed some minor CSS issues for the category mapping autosuggest
3611
  Changed plugin title in readme.txt file
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.2.7
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.2.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -1104,10 +1104,12 @@ function woosea_add_mass_cat_mapping(){
1104
  } else {
1105
  // Only update the ones that changed
1106
  foreach ($mappings as $categoryId => $catArray){
1107
- if (array_key_exists($categoryId, $project['mappings'])){
1108
- $project['mappings'][$categoryId] = $catArray;
1109
- } else {
1110
- $project['mappings'][$categoryId] = $catArray;
 
 
1111
  }
1112
  }
1113
  $project_updated = WooSEA_Update_Project::update_project_data($project);
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 11.2.8
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.2.8' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1104
  } else {
1105
  // Only update the ones that changed
1106
  foreach ($mappings as $categoryId => $catArray){
1107
+ if(is_array($project['mappings'])){
1108
+ if (array_key_exists($categoryId, $project['mappings'])){
1109
+ $project['mappings'][$categoryId] = $catArray;
1110
+ } else {
1111
+ $project['mappings'][$categoryId] = $catArray;
1112
+ }
1113
  }
1114
  }
1115
  $project_updated = WooSEA_Update_Project::update_project_data($project);