CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.4.61

Version Description

(2022-05-23) = * Updated: Updated readme content. * Fixed: Idealo feed generation stuck * Fixed: JS build version

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 4.4.61
Comparing to
See all releases

Code changes from version 4.4.60 to 4.4.61

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: WooCommerce Product Feed, WooCommerce, Google Shopping, Google Merchant, F
5
  Requires at least: 4.4
6
  Tested Up To: 5.9
7
  Requires PHP: 5.6
8
- Stable tag: 4.4.60
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -297,7 +297,7 @@ When you think broader and wish to popularize your products worldwide, you can
297
  * <a target="_blank" href="https://wpml.org/">WPML</a>
298
  * <a target="_blank" href="https://wordpress.org/plugins/polylang/">Polylang</a>
299
  * <a target="_blank" href="https://translatepress.com/">TranslatePress</a>
300
- * <a target="_blank" href="https://weglot.com/">Weglot</a>
301
 
302
  = 💥MULTI-CURRENCY FEED (PRO FEATURE) 💥 =
303
 
@@ -590,6 +590,11 @@ Using pro version:
590
 
591
  == Changelog ==
592
 
 
 
 
 
 
593
  = 4.4.60 (2022-05-10) =
594
  * Updated: Updated readme content.
595
  * Tested: Tested upto wp 5.9.3.
5
  Requires at least: 4.4
6
  Tested Up To: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 4.4.61
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
297
  * <a target="_blank" href="https://wpml.org/">WPML</a>
298
  * <a target="_blank" href="https://wordpress.org/plugins/polylang/">Polylang</a>
299
  * <a target="_blank" href="https://translatepress.com/">TranslatePress</a>
300
+
301
 
302
  = 💥MULTI-CURRENCY FEED (PRO FEATURE) 💥 =
303
 
590
 
591
  == Changelog ==
592
 
593
+ = 4.4.61 (2022-05-23) =
594
+ * Updated: Updated readme content.
595
+ * Fixed: Idealo feed generation stuck
596
+ * Fixed: JS build version
597
+
598
  = 4.4.60 (2022-05-10) =
599
  * Updated: Updated readme content.
600
  * Tested: Tested upto wp 5.9.3.
includes/classes/class-woo-feed-constants.php CHANGED
@@ -23,7 +23,7 @@ if( ! class_exists("Woo_Feed_Constants") ) {
23
  * @var string
24
  * @since 3.1.6
25
  */
26
- define( 'WOO_FEED_FREE_VERSION', '4.4.60' );
27
  }
28
 
29
  if ( ! defined( 'WOO_FEED_FREE_PATH' ) ) {
23
  * @var string
24
  * @since 3.1.6
25
  */
26
+ define( 'WOO_FEED_FREE_VERSION', '4.4.61' );
27
  }
28
 
29
  if ( ! defined( 'WOO_FEED_FREE_PATH' ) ) {
includes/classes/class-woo-feed-shipping.php CHANGED
@@ -38,6 +38,7 @@ class Woo_Feed_Shipping {
38
  public $obj_v3;
39
 
40
  public function __construct( $feed_config ) {
 
41
  $this->config = $feed_config;
42
  //$this->class_cost_id = $this->set_shipping_class_id();
43
  $this->feed_country = $this->set_country();
@@ -250,7 +251,7 @@ class Woo_Feed_Shipping {
250
  continue;
251
  }
252
  }
253
- }
254
  } else {
255
 
256
  //when only_local_pickup_shipping is disabled then skip the local pickup method
@@ -267,13 +268,13 @@ class Woo_Feed_Shipping {
267
  }
268
  }
269
  }
270
-
271
  if ( isset($shipping) && ! empty($shipping) ) {
272
  $shipping_cost = $this->get_shipping_cost($shipping, $shipping_method);
273
  $shipping['price'] = apply_filters('woo_feed_filter_shipping_attribute_price', $shipping_cost, $method, $this->config);
274
  }
275
  }
276
- }
277
  }else {
278
  unset( $shipping );
279
  continue 3;
@@ -282,7 +283,7 @@ class Woo_Feed_Shipping {
282
  if ( isset($shipping) ) {
283
  $shipping_info[] = $shipping;
284
  }
285
- }
286
  }
287
  }
288
 
@@ -637,4 +638,4 @@ class Woo_Feed_Shipping {
637
 
638
  return $formatted_rates;
639
  }
640
- }
38
  public $obj_v3;
39
 
40
  public function __construct( $feed_config ) {
41
+
42
  $this->config = $feed_config;
43
  //$this->class_cost_id = $this->set_shipping_class_id();
44
  $this->feed_country = $this->set_country();
251
  continue;
252
  }
253
  }
254
+ }
255
  } else {
256
 
257
  //when only_local_pickup_shipping is disabled then skip the local pickup method
268
  }
269
  }
270
  }
271
+
272
  if ( isset($shipping) && ! empty($shipping) ) {
273
  $shipping_cost = $this->get_shipping_cost($shipping, $shipping_method);
274
  $shipping['price'] = apply_filters('woo_feed_filter_shipping_attribute_price', $shipping_cost, $method, $this->config);
275
  }
276
  }
277
+ }
278
  }else {
279
  unset( $shipping );
280
  continue 3;
283
  if ( isset($shipping) ) {
284
  $shipping_info[] = $shipping;
285
  }
286
+ }
287
  }
288
  }
289
 
638
 
639
  return $formatted_rates;
640
  }
641
+ }
includes/feeds/class-woo-feed-review.php CHANGED
@@ -248,16 +248,22 @@ class Woo_Feed_Review {
248
 
249
  if ( $reviews && is_array($reviews) ) {
250
  foreach ( $reviews as $single_review ) {
 
251
  $review_content = $single_review->comment_content;
252
  $rating = get_comment_meta( $single_review->comment_ID, 'rating', true);
253
  $review_content = woo_feed_strip_all_tags(wp_specialchars_decode($review_content));
254
  $review_content = preg_replace('/[^A-Za-z0-9-]/', ' ', $review_content);
255
- $review_content = ! empty($review_content) ? "<![CDATA[" . woo_feed_strip_all_tags(wp_specialchars_decode($review_content)) . "]]>" : "";
256
  $review_product_url = ! empty($product->get_permalink()) ? "<![CDATA[" . $product->get_permalink() . "]]>" : "";
257
- $review_id = ! empty($single_review->comment_ID) ? "<![CDATA[" . $single_review->comment_ID . "]]>" : "";
258
- $review_author = ! empty($single_review->comment_author) ? "<![CDATA[" . $single_review->comment_author . "]]>" : "";
259
- $review_user_id = ! empty($single_review->user_id) ? "<![CDATA[" . $single_review->user_id . "]]>" : "";
260
- $review_time = ! empty($single_review->comment_date_gmt) ? "<![CDATA[" . $single_review->comment_date_gmt . "]]>" : "";
 
 
 
 
 
261
 
262
  $review['review']['review_id'] = $review_id;
263
  $review['review']['reviewer']['name'] = $review_author;
248
 
249
  if ( $reviews && is_array($reviews) ) {
250
  foreach ( $reviews as $single_review ) {
251
+ $review_time = "";
252
  $review_content = $single_review->comment_content;
253
  $rating = get_comment_meta( $single_review->comment_ID, 'rating', true);
254
  $review_content = woo_feed_strip_all_tags(wp_specialchars_decode($review_content));
255
  $review_content = preg_replace('/[^A-Za-z0-9-]/', ' ', $review_content);
256
+ $review_content = ! empty($review_content) ? woo_feed_strip_all_tags(wp_specialchars_decode($review_content)) : "";
257
  $review_product_url = ! empty($product->get_permalink()) ? "<![CDATA[" . $product->get_permalink() . "]]>" : "";
258
+ $review_id = ! empty($single_review->comment_ID) ? $single_review->comment_ID : "";
259
+ $review_author = ! empty($single_review->comment_author) ? $single_review->comment_author : "";
260
+ $review_user_id = ! empty($single_review->user_id) ? $single_review->user_id : "";
261
+
262
+ if( ! empty($single_review->comment_date_gmt) ) {
263
+ $review_time = $single_review->comment_date_gmt;
264
+ $review_time = explode(' ', $review_time);
265
+ $review_time = implode('T', $review_time)."Z";
266
+ }
267
 
268
  $review['review']['review_id'] = $review_id;
269
  $review['review']['reviewer']['name'] = $review_author;
includes/helper.php CHANGED
@@ -3570,6 +3570,7 @@ if ( ! function_exists('woo_feed_custom_taxonomy') ) {
3570
  'show_in_rest' => true,
3571
  'show_in_nav_menus' => true,
3572
  'show_tagcloud' => true,
 
3573
  );
3574
  $taxonomy_key = sprintf('woo-feed-%s', strtolower($key));
3575
 
3570
  'show_in_rest' => true,
3571
  'show_in_nav_menus' => true,
3572
  'show_tagcloud' => true,
3573
+ 'show_in_quick_edit' => false,
3574
  );
3575
  $taxonomy_key = sprintf('woo-feed-%s', strtolower($key));
3576
 
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: CTX Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
- * Version: 4.4.60
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
10
  * Plugin Name: CTX Feed
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
+ * Version: 4.4.61
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2