Product Feed PRO for WooCommerce - Version 9.2.0

Version Description

Option cron_projects set to autoload no as there is no need to have it autoloaded

Download this release

Release Info

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

Code changes from version 9.1.9 to 9.2.0

classes/class-update-channel.php CHANGED
@@ -61,7 +61,7 @@ class WooSEA_Update_Project {
61
  if(!empty($val)){
62
  if($val['project_hash'] === $project['project_hash']){
63
  $cron_projects[$key] = $project;
64
- update_option('cron_projects', $cron_projects);
65
  }
66
  }
67
  }
@@ -277,11 +277,11 @@ class WooSEA_Update_Project {
277
  } else {
278
  array_push($cron_projects, $project_data);
279
  }
280
- update_option( 'cron_projects', $cron_projects, 'yes');
281
  } else {
282
  $cron_projects = array (); // Create a new multidimensional array for the cron projects
283
  array_push($cron_projects, $project_data);
284
- update_option( 'cron_projects', $cron_projects, 'yes');
285
  }
286
 
287
  // Clear channel_project option
61
  if(!empty($val)){
62
  if($val['project_hash'] === $project['project_hash']){
63
  $cron_projects[$key] = $project;
64
+ update_option('cron_projects', $cron_projects, 'no');
65
  }
66
  }
67
  }
277
  } else {
278
  array_push($cron_projects, $project_data);
279
  }
280
+ update_option( 'cron_projects', $cron_projects, 'no');
281
  } else {
282
  $cron_projects = array (); // Create a new multidimensional array for the cron projects
283
  array_push($cron_projects, $project_data);
284
+ update_option( 'cron_projects', $cron_projects, 'no');
285
  }
286
 
287
  // Clear channel_project option
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=9.1.9',
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=9.2.0',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
pages/admin/woosea-manage-feed.php CHANGED
@@ -96,7 +96,7 @@ if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
96
  foreach($cron_projects as $key => $value){
97
  $cron_projects[$key]['active'] = "true";
98
  }
99
- update_option('cron_projects', $cron_projects);
100
  } else {
101
  // Set default notification to show
102
  $getelite_notice = get_option('woosea_getelite_notification');
@@ -264,7 +264,7 @@ if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
264
  } else {
265
  // Removing this partly configured feed as it results in PHP warnings
266
  unset($cron_projects[$key]);
267
- update_option('cron_projects', $cron_projects);
268
  }
269
  }
270
  } else {
96
  foreach($cron_projects as $key => $value){
97
  $cron_projects[$key]['active'] = "true";
98
  }
99
+ update_option('cron_projects', $cron_projects,'no');
100
  } else {
101
  // Set default notification to show
102
  $getelite_notice = get_option('woosea_getelite_notification');
264
  } else {
265
  // Removing this partly configured feed as it results in PHP warnings
266
  unset($cron_projects[$key]);
267
+ update_option('cron_projects', $cron_projects,'no');
268
  }
269
  }
270
  } else {
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.5
8
- Stable tag: 9.1.9
9
 
10
  == Description ==
11
 
@@ -321,6 +321,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
321
 
322
  === Changelog ===
323
 
 
 
 
324
  = 9.1.9 (2020-11-26) =
325
  * Added a performance feature. Users can now select to only refresh their product feeds when products have been changed or new products have been added to WooCommerce.
326
 
@@ -2928,6 +2931,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2928
 
2929
  == Upgrade Notice ==
2930
 
 
 
 
2931
  = 9.1.9 =
2932
  Added a performance feature. Users can now select to only refresh their product feeds when products have been changed or new products have been added to WooCommerce.
2933
 
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.5
8
+ Stable tag: 9.2.0
9
 
10
  == Description ==
11
 
321
 
322
  === Changelog ===
323
 
324
+ = 9.2.0 (2020-11-30) =
325
+ * Option cron_projects set to autoload no as there is no need to have it autoloaded
326
+
327
  = 9.1.9 (2020-11-26) =
328
  * Added a performance feature. Users can now select to only refresh their product feeds when products have been changed or new products have been added to WooCommerce.
329
 
2931
 
2932
  == Upgrade Notice ==
2933
 
2934
+ = 9.2.0 =
2935
+ Option cron_projects set to autoload no as there is no need to have it autoloaded
2936
+
2937
  = 9.1.9 =
2938
  Added a performance feature. Users can now select to only refresh their product feeds when products have been changed or new products have been added to WooCommerce.
2939
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 9.1.9
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', '9.1.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -1906,7 +1906,7 @@ function woosea_project_delete(){
1906
  unset($feed_config[$found_key]);
1907
 
1908
  # Update cron
1909
- update_option('cron_projects', $feed_config);
1910
 
1911
  # Remove project file
1912
  @unlink($file);
@@ -1938,7 +1938,7 @@ function woosea_project_cancel(){
1938
  wp_schedule_single_event( time() + 60, 'woosea_update_project_stats', array($val['project_hash']) );
1939
  }
1940
  }
1941
- update_option( 'cron_projects', $feed_config);
1942
  }
1943
  add_action( 'wp_ajax_woosea_project_cancel', 'woosea_project_cancel' );
1944
 
@@ -2022,7 +2022,7 @@ function woosea_project_copy(){
2022
  $new_key = $max_key+1;
2023
  $add_project[$new_key] = $val;
2024
  array_push($feed_config, $add_project[$new_key]);
2025
- update_option( 'cron_projects', $feed_config, 'yes');
2026
 
2027
  // Do not start processing, user wants to make changes to the copied project
2028
  $copy_status = "true";
@@ -2136,7 +2136,7 @@ function woosea_project_status() {
2136
  }
2137
 
2138
  // Update cron with new project status
2139
- update_option( 'cron_projects', $feed_config);
2140
  }
2141
  add_action( 'wp_ajax_woosea_project_status', 'woosea_project_status' );
2142
 
@@ -3820,7 +3820,7 @@ function woosea_update_project_history($project_hash){
3820
  }
3821
  }
3822
  }
3823
- update_option( 'cron_projects', $feed_config);
3824
  }
3825
  }
3826
  }
@@ -4290,7 +4290,7 @@ function woosea_nr_products($project_hash, $nr_products){
4290
  $feed_config[$key]['nr_products'] = $nr_products;
4291
  }
4292
  }
4293
- update_option( 'cron_projects', $feed_config);
4294
  }
4295
 
4296
  /**
@@ -4319,7 +4319,7 @@ function woosea_last_updated($project_hash){
4319
  }
4320
  }
4321
 
4322
- update_option( 'cron_projects', $feed_config);
4323
  return $last_updated;
4324
  }
4325
 
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 9.2.0
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', '9.2.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1906
  unset($feed_config[$found_key]);
1907
 
1908
  # Update cron
1909
+ update_option('cron_projects', $feed_config, 'no');
1910
 
1911
  # Remove project file
1912
  @unlink($file);
1938
  wp_schedule_single_event( time() + 60, 'woosea_update_project_stats', array($val['project_hash']) );
1939
  }
1940
  }
1941
+ update_option( 'cron_projects', $feed_config, 'no');
1942
  }
1943
  add_action( 'wp_ajax_woosea_project_cancel', 'woosea_project_cancel' );
1944
 
2022
  $new_key = $max_key+1;
2023
  $add_project[$new_key] = $val;
2024
  array_push($feed_config, $add_project[$new_key]);
2025
+ update_option( 'cron_projects', $feed_config, 'no');
2026
 
2027
  // Do not start processing, user wants to make changes to the copied project
2028
  $copy_status = "true";
2136
  }
2137
 
2138
  // Update cron with new project status
2139
+ update_option( 'cron_projects', $feed_config, 'no');
2140
  }
2141
  add_action( 'wp_ajax_woosea_project_status', 'woosea_project_status' );
2142
 
3820
  }
3821
  }
3822
  }
3823
+ update_option( 'cron_projects', $feed_config, 'no');
3824
  }
3825
  }
3826
  }
4290
  $feed_config[$key]['nr_products'] = $nr_products;
4291
  }
4292
  }
4293
+ update_option( 'cron_projects', $feed_config, 'no');
4294
  }
4295
 
4296
  /**
4319
  }
4320
  }
4321
 
4322
+ update_option( 'cron_projects', $feed_config,'no');
4323
  return $last_updated;
4324
  }
4325