Product Feed PRO for WooCommerce - Version 7.1.8

Version Description

  • Solved a PHP notice in the error logs for feed configurations that missed the cron setting
Download this release

Release Info

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

Code changes from version 7.1.7 to 7.1.8

classes/class-get-products.php CHANGED
@@ -220,6 +220,7 @@ class WooSEA_Get_Products {
220
  $data = $wpdb->get_results($sql);
221
 
222
  if (count($data)) {
 
223
  foreach ($data as $key => $value) {
224
  $value_display = str_replace("_", " ",$value->name);
225
  if (!preg_match("/_product_attributes/i",$value->name)){
220
  $data = $wpdb->get_results($sql);
221
 
222
  if (count($data)) {
223
+
224
  foreach ($data as $key => $value) {
225
  $value_display = str_replace("_", " ",$value->name);
226
  if (!preg_match("/_product_attributes/i",$value->name)){
js/woosea_key.js CHANGED
@@ -27,7 +27,7 @@ jQuery(document).ready(function($) {
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.1.7',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.1.8',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
- Stable tag: 7.1.7
9
 
10
  == Description ==
11
 
@@ -302,6 +302,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
302
 
303
  === Changelog ===
304
 
 
 
 
305
  = 7.1.7 (2020-01-12) =
306
  * Added some code to also remove the VC shortcodes for raw HTML in the description and short description attributes
307
 
@@ -2264,6 +2267,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2264
 
2265
  == Upgrade Notice ==
2266
 
 
 
 
2267
  = 7.1.7 =
2268
  Added some code to also remove the VC shortcodes for raw HTML in the description and short description attributes
2269
 
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
+ Stable tag: 7.1.8
9
 
10
  == Description ==
11
 
302
 
303
  === Changelog ===
304
 
305
+ = 7.1.8 (2020-01-14) =
306
+ * Solved a PHP notice in the error logs for feed configurations that missed the cron setting.
307
+
308
  = 7.1.7 (2020-01-12) =
309
  * Added some code to also remove the VC shortcodes for raw HTML in the description and short description attributes
310
 
2267
 
2268
  == Upgrade Notice ==
2269
 
2270
+ = 7.1.8 =
2271
+ * Solved a PHP notice in the error logs for feed configurations that missed the cron setting
2272
+
2273
  = 7.1.7 =
2274
  Added some code to also remove the VC shortcodes for raw HTML in the description and short description attributes
2275
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.1.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, 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', '7.1.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -873,8 +873,6 @@ function woosea_add_cat_mapping() {
873
  $project['mappings'][$rowCount]['criteria'] = $criteria;
874
  $project['mappings'][$rowCount]['map_to_category'] = $map_to_category;
875
 
876
- //error_log(print_r($project['mappings'], TRUE));
877
-
878
  $project_updated = WooSEA_Update_Project::update_project_data($project);
879
  $status_mapping = "true";
880
  }
@@ -3670,8 +3668,8 @@ function woosea_create_all_feeds(){
3670
  gc_collect_cycles();
3671
 
3672
  // Only process projects that are active
3673
- if(($val['active'] == "true") AND (!empty($val))){
3674
-
3675
  if (($val['cron'] == "daily") AND ($hour == 07)){
3676
  $batch_project = "batch_project_".$val['project_hash'];
3677
  if (!get_option( $batch_project )){
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.1.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, 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', '7.1.8' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
873
  $project['mappings'][$rowCount]['criteria'] = $criteria;
874
  $project['mappings'][$rowCount]['map_to_category'] = $map_to_category;
875
 
 
 
876
  $project_updated = WooSEA_Update_Project::update_project_data($project);
877
  $status_mapping = "true";
878
  }
3668
  gc_collect_cycles();
3669
 
3670
  // Only process projects that are active
3671
+ if(($val['active'] == "true") AND (!empty($val)) AND (isset($val['cron']))){
3672
+
3673
  if (($val['cron'] == "daily") AND ($hour == 07)){
3674
  $batch_project = "batch_project_".$val['project_hash'];
3675
  if (!get_option( $batch_project )){