CTX Feed – WooCommerce Product Feed Manager Plugin - Version 2.2.26

Version Description

Download this release

Release Info

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

Code changes from version 2.2.25 to 2.2.26

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webappick.com
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested up to: 4.9
7
- Stable tag: 2.2.24
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -296,6 +296,12 @@ Using pro version:
296
 
297
  == Changelog ==
298
 
 
 
 
 
 
 
299
  = 2.2.24(2018-11-05) =
300
  * Minor issue fixed
301
 
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested up to: 4.9
7
+ Stable tag: 2.2.26
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
296
 
297
  == Changelog ==
298
 
299
+ = 2.2.26(2018-11-17) =
300
+ * At First convert Short Codes and then Remove failed Short Codes from String
301
+
302
+ = 2.2.25(2018-11-07) =
303
+ * number_format error fixed
304
+
305
  = 2.2.24(2018-11-05) =
306
  * Minor issue fixed
307
 
admin/js/woo-feed-admin.js CHANGED
@@ -206,7 +206,7 @@
206
  $(document).on("focus","#wf_google_taxonomy_input_modal",function(e){
207
  e.preventDefault();
208
  showGoogleTaxonomyInputModal(); //call modal
209
- //alert("Hi");
210
  });
211
  //modal show for getting google taxonomy
212
  function showGoogleTaxonomyInputModal() {
206
  $(document).on("focus","#wf_google_taxonomy_input_modal",function(e){
207
  e.preventDefault();
208
  showGoogleTaxonomyInputModal(); //call modal
209
+
210
  });
211
  //modal show for getting google taxonomy
212
  function showGoogleTaxonomyInputModal() {
includes/class-woo-feed.php CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
- $this->version = '2.2.24';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
+ $this->version = '2.2.26';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
includes/classes/class-woo-feed-engine.php CHANGED
@@ -99,7 +99,7 @@ class WF_Engine
99
  */
100
  public function mapProductsByRules()
101
  {
102
- $productClass = new Woo_Feed_Products();
103
  $attributes = $this->rules['attributes'];
104
  $prefix = $this->rules['prefix'];
105
  $suffix = $this->rules['suffix'];
@@ -108,7 +108,7 @@ class WF_Engine
108
  $merchantAttributes = $this->rules['mattributes'];
109
  $type = $this->rules['type'];
110
  $default = $this->rules['default'];
111
- $feedType = $this->rules['feedType'];
112
 
113
  $wf_attr = array();
114
  $wf_cattr = array();
@@ -194,6 +194,7 @@ class WF_Engine
194
  } elseif ($value22 == 5) { # Integer
195
  $output = absint($output);
196
  } elseif ($value22 == 6) { # Price
 
197
  $output = number_format($output, 2, '.', '');
198
  } elseif ($value22 == 7) { # Delete Space
199
  $output = trim($output);
@@ -273,6 +274,7 @@ class WF_Engine
273
  } elseif ($value22 == 5) { # Integer
274
  $output = absint($output);
275
  } elseif ($value22 == 6) { # Price
 
276
  $output = number_format($output, 2, '.', '');
277
  } elseif ($value22 == 7) { # Delete Space
278
  $output = trim($output);
99
  */
100
  public function mapProductsByRules()
101
  {
102
+
103
  $attributes = $this->rules['attributes'];
104
  $prefix = $this->rules['prefix'];
105
  $suffix = $this->rules['suffix'];
108
  $merchantAttributes = $this->rules['mattributes'];
109
  $type = $this->rules['type'];
110
  $default = $this->rules['default'];
111
+
112
 
113
  $wf_attr = array();
114
  $wf_cattr = array();
194
  } elseif ($value22 == 5) { # Integer
195
  $output = absint($output);
196
  } elseif ($value22 == 6) { # Price
197
+ $output=(float) $output;
198
  $output = number_format($output, 2, '.', '');
199
  } elseif ($value22 == 7) { # Delete Space
200
  $output = trim($output);
274
  } elseif ($value22 == 5) { # Integer
275
  $output = absint($output);
276
  } elseif ($value22 == 6) { # Price
277
+ $output=(float) $output;
278
  $output = number_format($output, 2, '.', '');
279
  } elseif ($value22 == 7) { # Delete Space
280
  $output = trim($output);
includes/classes/class-woo-feed-products.php CHANGED
@@ -1432,7 +1432,7 @@ class Woo_Feed_Products
1432
  if(empty($content)){
1433
  return "";
1434
  }
1435
-
1436
  $content=$this->stripInvalidXml($content);
1437
  return strip_shortcodes($content);
1438
 
1432
  if(empty($content)){
1433
  return "";
1434
  }
1435
+ $content=do_shortcode($content);
1436
  $content=$this->stripInvalidXml($content);
1437
  return strip_shortcodes($content);
1438
 
woo-feed.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
- * Version: 2.2.24
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
@@ -704,7 +704,6 @@ function woo_feed_manage_feed()
704
  if (isset($_GET['action']) && $_GET['action'] == 'edit-feed') {
705
  $fname = sanitize_text_field($_GET['feed']);
706
  if (count($_POST) && isset($_POST['provider']) && isset($_POST['edit-feed'])) {
707
- // if (woo_feed_add_update($_POST, $_GET['feed'])) {
708
 
709
  // $process = woo_feed_add_update($_POST, $fname);
710
  // if ($process) {
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
+ * Version: 2.2.26
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
704
  if (isset($_GET['action']) && $_GET['action'] == 'edit-feed') {
705
  $fname = sanitize_text_field($_GET['feed']);
706
  if (count($_POST) && isset($_POST['provider']) && isset($_POST['edit-feed'])) {
 
707
 
708
  // $process = woo_feed_add_update($_POST, $fname);
709
  // if ($process) {