CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.7.18

Version Description

(2020-09-15) = * Tweak: Strip old Visual Composer shortcodes from product description. * Tweak: Setting page save button alignment fix.

Download this release

Release Info

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

Code changes from version 3.7.17 to 3.7.18

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags:product feed,woocommerce product feed,google shopping feed,google shopping,
5
  Requires at least: 3.6
6
  Tested Up To: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 3.7.17
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -308,6 +308,10 @@ Using pro version:
308
 
309
  == Changelog ==
310
 
 
 
 
 
311
  = 3.7.17 (2020-09-14) =
312
  * Tweak: Feed last updated time will show wordpress local time.
313
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 3.7.18
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
308
 
309
  == Changelog ==
310
 
311
+ = 3.7.18 (2020-09-15) =
312
+ * Tweak: Strip old Visual Composer shortcodes from product description.
313
+ * Tweak: Setting page save button alignment fix.
314
+
315
  = 3.7.17 (2020-09-14) =
316
  * Tweak: Feed last updated time will show wordpress local time.
317
 
admin/partials/woo-feed-settings.php CHANGED
@@ -93,7 +93,7 @@ $settings = woo_feed_get_options( 'all' );
93
  <?php do_action( 'woo_feed_after_settings_page_fields' ); ?>
94
  <tr>
95
  <td colspan="2">
96
- <p class="submit" style="text-align: center">
97
  <input type="submit" class="button button-primary" name="wa_woo_feed_config" value="<?php esc_attr_e( 'Save Changes', 'woo-feed' ); ?>">
98
  </p>
99
  </td>
93
  <?php do_action( 'woo_feed_after_settings_page_fields' ); ?>
94
  <tr>
95
  <td colspan="2">
96
+ <p class="submit" style="text-align: left; padding: 8px 10px; width:50%; float:right;">
97
  <input type="submit" class="button button-primary" name="wa_woo_feed_config" value="<?php esc_attr_e( 'Save Changes', 'woo-feed' ); ?>">
98
  </p>
99
  </td>
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -482,7 +482,7 @@ class Woo_Feed_Products_v3
482
  woo_feed_log_feed_process($this->config['filename'], sprintf('Getting Variation Product(s) :: %s', implode(', ', $variations)));
483
  }
484
  $this->get_products($variations);
485
- return false;
486
  }
487
  }
488
  return false;
@@ -1507,23 +1507,26 @@ class Woo_Feed_Products_v3
1507
  * @since 3.2.0
1508
  *
1509
  */
1510
- protected function remove_short_codes($content)
1511
- {
1512
- if (empty($content)) {
1513
  return '';
1514
  }
1515
 
 
 
 
 
1516
  // Remove DIVI Builder Short Codes
1517
- if (class_exists('ET_Builder_Module') || defined('ET_BUILDER_PLUGIN_VERSION')) {
1518
  /** @noinspection RegExpRedundantEscape */
1519
- $content = preg_replace('/\[\/?et_pb.*?\]/', '', $content);
1520
  }
1521
 
1522
- $content = do_shortcode($content);
1523
-
1524
- $content = woo_feed_stripInvalidXml($content);
1525
 
1526
- return strip_shortcodes($content);
1527
  }
1528
 
1529
  /**
482
  woo_feed_log_feed_process($this->config['filename'], sprintf('Getting Variation Product(s) :: %s', implode(', ', $variations)));
483
  }
484
  $this->get_products($variations);
485
+ return true;
486
  }
487
  }
488
  return false;
1507
  * @since 3.2.0
1508
  *
1509
  */
1510
+ protected function remove_short_codes( $content ) {
1511
+ if ( empty( $content ) ) {
 
1512
  return '';
1513
  }
1514
 
1515
+ $content = do_shortcode( $content );
1516
+
1517
+ $content = woo_feed_stripInvalidXml( $content );
1518
+
1519
  // Remove DIVI Builder Short Codes
1520
+ if ( class_exists( 'ET_Builder_Module' ) || defined( 'ET_BUILDER_PLUGIN_VERSION' ) ) {
1521
  /** @noinspection RegExpRedundantEscape */
1522
+ $content = preg_replace( '/\[\/?et_pb.*?\]/', '', $content );
1523
  }
1524
 
1525
+ // Remove Visual Composer Short Codes
1526
+ /** @noinspection RegExpRedundantEscape */
1527
+ $content = preg_replace('/\[\/?vc_.*?\]/', '', $content);
1528
 
1529
+ return strip_shortcodes( $content );
1530
  }
1531
 
1532
  /**
woo-feed.php CHANGED
@@ -11,7 +11,7 @@
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
  *
14
- * Version: 3.7.17
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * 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', '3.7.17' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
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
  *
14
+ * Version: 3.7.18
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '3.7.18' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {