CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.68

Version Description

(2021-04-15) = * Fixed: WP_POST as string fatal error has been solved.

Download this release

Release Info

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

Code changes from version 4.3.67 to 4.3.68

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.7
7
  Requires PHP: 5.6
8
- Stable tag: 4.3.67
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -498,6 +498,9 @@ Using pro version:
498
 
499
  == Changelog ==
500
 
 
 
 
501
  = 4.3.67 (2021-04-14) =
502
  * Added: FTP enable/disable option has been added.
503
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 4.3.68
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.68 (2021-04-15) =
502
+ * Fixed: WP_POST as string fatal error has been solved.
503
+
504
  = 4.3.67 (2021-04-14) =
505
  * Added: FTP enable/disable option has been added.
506
 
includes/class-woo-feed-status.php CHANGED
@@ -364,7 +364,7 @@ class Woo_Feed_Status {
364
  );
365
 
366
  $wp_args = array(
367
- 'posts_per_page' => - 1,
368
  'post_type' => 'product',
369
  'post_status' => 'publish',
370
  'order' => 'DESC',
@@ -375,7 +375,7 @@ class Woo_Feed_Status {
375
  'suppress_filters' => false,
376
  );
377
 
378
- $wp_query = (new WP_Query($wp_args))->get_posts();
379
  $wc_query = (new WC_Product_Query($wc_args))->get_products();
380
 
381
  $wc_query_total_product = count($wc_query);
364
  );
365
 
366
  $wp_args = array(
367
+ 'posts_per_page' => -1,
368
  'post_type' => 'product',
369
  'post_status' => 'publish',
370
  'order' => 'DESC',
375
  'suppress_filters' => false,
376
  );
377
 
378
+ $wp_query = get_posts($wp_args);
379
  $wc_query = (new WC_Product_Query($wc_args))->get_products();
380
 
381
  $wc_query_total_product = count($wc_query);
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -339,7 +339,7 @@ class Woo_Feed_Products_v3
339
  public function get_wp_query_products() {
340
  $args = $this->get_query_args('wp');
341
  $query = new WP_Query($args);
342
- if ( woo_feed_is_debugging_enabled() ) {
343
  woo_feed_log_feed_process($this->config['filename'], 'WC_Product_Query Args::' . PHP_EOL . print_r($args, true)); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
344
  woo_feed_log_feed_process($this->config['filename'], sprintf('WP_Query Request ::' . PHP_EOL . '%s', $query->request));
345
  woo_feed_log($this->config['filename'], 'WC_Product_Query Args::' . PHP_EOL . print_r($args, true), 'info'); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
339
  public function get_wp_query_products() {
340
  $args = $this->get_query_args('wp');
341
  $query = new WP_Query($args);
342
+ if ( ! is_wp_error($query) && woo_feed_is_debugging_enabled() ) {
343
  woo_feed_log_feed_process($this->config['filename'], 'WC_Product_Query Args::' . PHP_EOL . print_r($args, true)); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
344
  woo_feed_log_feed_process($this->config['filename'], sprintf('WP_Query Request ::' . PHP_EOL . '%s', $query->request));
345
  woo_feed_log($this->config['filename'], 'WC_Product_Query Args::' . PHP_EOL . print_r($args, true), 'info'); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
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.67
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
39
  * @var string
40
  * @since 3.1.6
41
  */
42
- define( 'WOO_FEED_FREE_VERSION', '4.3.67' );
43
  }
44
 
45
  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.68
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '4.3.68' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {