CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.48

Version Description

(2021-03-15) = * Fixed: PHP 7.4+ compatibility tested. * Fixed: Temporary codes removed.

Download this release

Release Info

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

Code changes from version 4.3.47 to 4.3.48

Files changed (3) hide show
  1. README.txt +6 -2
  2. includes/helper.php +5 -5
  3. woo-feed.php +2 -2
README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Product Feed, WooCommerce, Google Shopping, Google Merchant, Facebook Cata
5
  Requires at least: 3.6
6
  Tested Up To: 5.6.1
7
  Requires PHP: 5.6
8
- Stable tag: 4.3.47
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -498,9 +498,13 @@ Using pro version:
498
 
499
  == Changelog ==
500
 
 
 
 
 
501
  = 4.3.47 (2021-03-14) =
502
  * Added: Product full category path attribute added.
503
- * Fixed: Product local category label updatd to product category.
504
 
505
  = 4.3.46 (2021-03-11) =
506
  * Fixed: Facebook pixel issue solved.
5
  Requires at least: 3.6
6
  Tested Up To: 5.6.1
7
  Requires PHP: 5.6
8
+ Stable tag: 4.3.48
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
498
 
499
  == Changelog ==
500
 
501
+ = 4.3.48 (2021-03-15) =
502
+ * Fixed: PHP 7.4+ compatibility tested.
503
+ * Fixed: Temporary codes removed.
504
+
505
  = 4.3.47 (2021-03-14) =
506
  * Added: Product full category path attribute added.
507
+ * Fixed: Product local category label updated to product category.
508
 
509
  = 4.3.46 (2021-03-11) =
510
  * Fixed: Facebook pixel issue solved.
includes/helper.php CHANGED
@@ -2183,8 +2183,8 @@ if ( ! function_exists( 'woo_feed_get_options' ) ) {
2183
  'overridden_structured_data' => 'on',
2184
  'disable_mpn' => 'enable',
2185
  'disable_brand' => 'enable',
2186
- 'disable_pixel' => 'enable',
2187
- 'pixel_id' => '',
2188
  'allow_all_shipping' => 'no',
2189
  'only_free_shipping' => 'yes',
2190
  'only_local_pickup_shipping' => 'no',
@@ -2285,7 +2285,7 @@ if ( ! function_exists( 'woo_feed_save_options' ) ) {
2285
  unset( $args['disable_pixel'] );
2286
  }
2287
  if ( array_key_exists( 'pixel_id', $args ) ) {
2288
- if( isset($args['pixel_id']) && !empty($args['pixel_id']) ) {
2289
  $data['pixel_id'] = absint( $args['pixel_id'] );
2290
  }else {
2291
  $data['pixel_id'] = $defaults['pixel_id'];
@@ -2999,9 +2999,9 @@ if ( ! function_exists('woo_feed_get_terms_list_hierarchical_order') ) {
2999
  if ( 0 !== (int) $term->parent ) {
3000
 
3001
  //when exact category path is not true, include parent term if has
3002
- if( $full_path ) {
3003
  $parent_term = get_term_by('term_id', $term->parent, $taxonomy);
3004
- if( isset($terms[$key]) && 0 === $key ) {
3005
  $terms[] = $parent_term;
3006
  }
3007
  }
2183
  'overridden_structured_data' => 'on',
2184
  'disable_mpn' => 'enable',
2185
  'disable_brand' => 'enable',
2186
+ 'disable_pixel' => 'enable',
2187
+ 'pixel_id' => '',
2188
  'allow_all_shipping' => 'no',
2189
  'only_free_shipping' => 'yes',
2190
  'only_local_pickup_shipping' => 'no',
2285
  unset( $args['disable_pixel'] );
2286
  }
2287
  if ( array_key_exists( 'pixel_id', $args ) ) {
2288
+ if ( isset($args['pixel_id']) && ! empty($args['pixel_id']) ) {
2289
  $data['pixel_id'] = absint( $args['pixel_id'] );
2290
  }else {
2291
  $data['pixel_id'] = $defaults['pixel_id'];
2999
  if ( 0 !== (int) $term->parent ) {
3000
 
3001
  //when exact category path is not true, include parent term if has
3002
+ if ( $full_path ) {
3003
  $parent_term = get_term_by('term_id', $term->parent, $taxonomy);
3004
+ if ( isset($terms[ $key ]) && 0 === $key ) {
3005
  $terms[] = $parent_term;
3006
  }
3007
  }
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.3.47
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.3.47' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
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.3.48
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.3.48' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {