CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.2.2

Version Description

(2020-11-19) = * Tweak : Performance enhancement. * Fix: Spacing issue solved.

Download this release

Release Info

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

Code changes from version 4.2.1 to 4.2.2

README.txt CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
- Stable tag: 4.2.1
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
@@ -311,6 +311,10 @@ Using pro version:
311
 
312
  == Changelog ==
313
 
 
 
 
 
314
  = 4.2.1 (2020-11-18) =
315
  * Fix: Local template attribute for google.
316
  * Fix: Local inventory template attribute for google.
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
+ Stable tag: 4.2.2
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
311
 
312
  == Changelog ==
313
 
314
+ = 4.2.2 (2020-11-19) =
315
+ * Tweak : Performance enhancement.
316
+ * Fix: Spacing issue solved.
317
+
318
  = 4.2.1 (2020-11-18) =
319
  * Fix: Local template attribute for google.
320
  * Fix: Local inventory template attribute for google.
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -1466,7 +1466,7 @@ class Woo_Feed_Products_v3
1466
  //strip tags and spacial characters
1467
  $strip_description = wp_strip_all_tags(wp_specialchars_decode($description));
1468
 
1469
- return !empty(strlen($strip_description)) && 0 < strlen($strip_description) ? $strip_description : $description;
1470
  }
1471
 
1472
  /**
1466
  //strip tags and spacial characters
1467
  $strip_description = wp_strip_all_tags(wp_specialchars_decode($description));
1468
 
1469
+ return ! empty(strlen($strip_description)) && 0 < strlen($strip_description) ? $strip_description : $description;
1470
  }
1471
 
1472
  /**
includes/classes/class-woo-feed-savefile.php CHANGED
@@ -51,11 +51,11 @@ class Woo_Feed_Savefile {
51
  $fp = fopen( $file, 'wb' ); // phpcs:ignore
52
 
53
  $delimiter = $info['delimiter'];
54
- }elseif( 'tsv' === $type ) {
55
  $fp = fopen( $file, 'wb' ); // phpcs:ignore
56
  $delimiter = "\t";
57
 
58
- }elseif( 'xls' === $type ) {
59
  $fp = fopen( $file, 'w' ); // phpcs:ignore
60
  $delimiter = "\t";
61
  }
@@ -76,12 +76,12 @@ class Woo_Feed_Savefile {
76
  }
77
  }
78
  }
79
- }elseif( 'xls' === $type ) {
80
  $xl_col_value = "";
81
  if ( count( $content ) ) {
82
  foreach ( $content as $key => $fields ) {
83
 
84
- foreach($fields as $value) {
85
  $xl_col_value .= $value . $delimiter;
86
  }
87
 
51
  $fp = fopen( $file, 'wb' ); // phpcs:ignore
52
 
53
  $delimiter = $info['delimiter'];
54
+ }elseif ( 'tsv' === $type ) {
55
  $fp = fopen( $file, 'wb' ); // phpcs:ignore
56
  $delimiter = "\t";
57
 
58
+ }elseif ( 'xls' === $type ) {
59
  $fp = fopen( $file, 'w' ); // phpcs:ignore
60
  $delimiter = "\t";
61
  }
76
  }
77
  }
78
  }
79
+ }elseif ( 'xls' === $type ) {
80
  $xl_col_value = "";
81
  if ( count( $content ) ) {
82
  foreach ( $content as $key => $fields ) {
83
 
84
+ foreach ( $fields as $value ) {
85
  $xl_col_value .= $value . $delimiter;
86
  }
87
 
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Product 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.2.1
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
38
  * @var string
39
  * @since 3.1.6
40
  */
41
- define( 'WOO_FEED_FREE_VERSION', '4.2.1' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
10
  * Plugin Name: WooCommerce Product 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.2.2
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
38
  * @var string
39
  * @since 3.1.6
40
  */
41
+ define( 'WOO_FEED_FREE_VERSION', '4.2.2' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {