Product Feed PRO for WooCommerce - Version 11.9.0

Version Description

Fixed an issue with review names not getting retrieved and showing warnings in the logs Fixed an issue where a data variable was not an integer and showed warnings in the logs

Download this release

Release Info

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

Code changes from version 11.8.9 to 11.9.0

classes/class-get-products.php CHANGED
@@ -90,8 +90,6 @@ class WooSEA_Get_Products {
90
  $review['review_id'] = $review_raw->comment_ID;
91
 
92
  // Names need to be anonomyzed
93
- $name_pieces = explode(" ", $review_raw->comment_author);
94
-
95
  if ( empty($review_raw->comment_author) ) {
96
  if (!empty($review_raw->user_id)){
97
  $user=get_userdata($review_raw->user_id);
@@ -100,10 +98,13 @@ class WooSEA_Get_Products {
100
  $author = __('Anonymous');
101
  }
102
  } else {
103
- $user=get_userdata($review_raw->user_id);
104
- $author=$user->first_name.' '.substr($user->last_name,0,1).'.'; // this is the actual line you want to change
 
 
 
 
105
  }
106
-
107
  $author = str_replace("&", "", $author);
108
  $author = ucfirst($author);
109
 
@@ -5280,8 +5281,10 @@ class WooSEA_Get_Products {
5280
  */
5281
  public function get_sale_date($id, $name) {
5282
  $date = $this->get_attribute_value($id, $name);
5283
- if ($date) {
5284
- return date("Y-m-d", $date);
 
 
5285
  }
5286
  return false;
5287
  }
90
  $review['review_id'] = $review_raw->comment_ID;
91
 
92
  // Names need to be anonomyzed
 
 
93
  if ( empty($review_raw->comment_author) ) {
94
  if (!empty($review_raw->user_id)){
95
  $user=get_userdata($review_raw->user_id);
98
  $author = __('Anonymous');
99
  }
100
  } else {
101
+ $user=get_userdata($review_raw->user_id);
102
+ if(!empty($user)){
103
+ $author=$user->first_name.' '.substr($user->last_name,0,1).'.'; // this is the actual line you want to change
104
+ } else {
105
+ $author = __('Anonymous');
106
+ }
107
  }
 
108
  $author = str_replace("&", "", $author);
109
  $author = ucfirst($author);
110
 
5281
  */
5282
  public function get_sale_date($id, $name) {
5283
  $date = $this->get_attribute_value($id, $name);
5284
+ if ($date) {
5285
+ if(is_int($date)){
5286
+ return date("Y-m-d", $date);
5287
+ }
5288
  }
5289
  return false;
5290
  }
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.8.9',
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.9.0',
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, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.0
8
- Stable tag: 11.8.9
9
 
10
  == Description ==
11
 
@@ -345,6 +345,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
345
 
346
  === Changelog ===
347
 
 
 
 
 
348
  = 11.8.9 (2022-10-07) =
349
  * Firstname and first character of an users lastname are now being used in Google review feeds
350
 
@@ -3800,6 +3804,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3800
 
3801
  == Upgrade Notice ==
3802
 
 
 
 
 
3803
  = 11.8.9 =
3804
  Firstname and first character of an users lastname are now being used in Google review feeds
3805
 
5
  Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.0
8
+ Stable tag: 11.9.0
9
 
10
  == Description ==
11
 
345
 
346
  === Changelog ===
347
 
348
+ = 11.9.0 (2022-10-10) =
349
+ * Fixed an issue with review names not getting retrieved and showing warnings in the logs
350
+ * Fixed an issue where a data variable was not an integer and showed warnings in the logs
351
+
352
  = 11.8.9 (2022-10-07) =
353
  * Firstname and first character of an users lastname are now being used in Google review feeds
354
 
3804
 
3805
  == Upgrade Notice ==
3806
 
3807
+ = 11.9.0 =
3808
+ Fixed an issue with review names not getting retrieved and showing warnings in the logs
3809
+ Fixed an issue where a data variable was not an integer and showed warnings in the logs
3810
+
3811
  = 11.8.9 =
3812
  Firstname and first character of an users lastname are now being used in Google review feeds
3813
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.8.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, Catalog managers, 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.8.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 11.9.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, Catalog managers, 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.9.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54