CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.1.16

Version Description

Download this release

Release Info

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

Code changes from version 3.1.15 to 3.1.16

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: 5.2
7
- Stable tag: 3.1.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -304,6 +304,9 @@ Using pro version:
304
 
305
  == Changelog ==
306
 
 
 
 
307
  = 3.1.15(2019-07-24) =
308
  * Fixed: Cross-site scripting (XSS) vulnerability issue resolved
309
 
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.2
7
+ Stable tag: 3.1.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
304
 
305
  == Changelog ==
306
 
307
+ = 3.1.16(2019-07-25) =
308
+ * Fixed: google_attributes option issue fixed
309
+
310
  = 3.1.15(2019-07-24) =
311
  * Fixed: Cross-site scripting (XSS) vulnerability issue resolved
312
 
includes/classes/class-woo-feed-dropdown.php CHANGED
@@ -615,7 +615,13 @@ class Woo_Feed_Dropdown
615
  */
616
  public function googleAttributesDropdown($selected = "")
617
  {
618
- if(!get_option('wf_feed_google_attributes'))
 
 
 
 
 
 
619
  {
620
  $attributes = new Woo_Feed_Default_Attributes();
621
  $str = "<option></option>";
@@ -628,9 +634,10 @@ class Woo_Feed_Dropdown
628
  $str .= "<option value='$key'>" . $value . "</option>";
629
  }
630
  }
631
- update_option('wf_feed_google_attributes', serialize($str));
632
  }
633
- $google_attributes = get_option('wf_feed_google_attributes');
 
634
 
635
  $pos = strpos($google_attributes, "value='". $selected . "'");
636
 
615
  */
616
  public function googleAttributesDropdown($selected = "")
617
  {
618
+ if(get_option('wf_feed_google_attributes'))
619
+ {
620
+ $old_data = get_option('wf_feed_google_attributes');
621
+ update_option('woo_feed_google_attributes', serialize($old_data));
622
+ delete_option('wf_feed_google_attributes');
623
+ }
624
+ if(!get_option('woo_feed_google_attributes'))
625
  {
626
  $attributes = new Woo_Feed_Default_Attributes();
627
  $str = "<option></option>";
634
  $str .= "<option value='$key'>" . $value . "</option>";
635
  }
636
  }
637
+ update_option('woo_feed_google_attributes', serialize($str));
638
  }
639
+
640
+ $google_attributes = get_option('woo_feed_google_attributes');
641
 
642
  $pos = strpos($google_attributes, "value='". $selected . "'");
643
 
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: 3.1.15
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
36
  exit;
37
  }
38
 
39
- define("WOO_FEED_VERSION", "3.1.15");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,
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: 3.1.16
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
36
  exit;
37
  }
38
 
39
+ define("WOO_FEED_VERSION", "3.1.16");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,