CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.2.4

Version Description

(2019-12-19) = * Fix OptOut button URL * Filter hook added for notice message

Download this release

Release Info

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

Code changes from version 3.2.3 to 3.2.4

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags:woocommerce,google product feed,facebook product feed,woocommerce product f
5
  Requires at least: 3.6
6
  Tested Up To: 5.4-alpha-46743
7
  Requires PHP: 5.6
8
- Stable tag: 3.2.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -305,6 +305,10 @@ Using pro version:
305
 
306
  == Changelog ==
307
 
 
 
 
 
308
  = 3.2.3 (2019-12-17) =
309
  * Fix All-In-One-SEO Title and Description
310
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.4-alpha-46743
7
  Requires PHP: 5.6
8
+ Stable tag: 3.2.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
305
 
306
  == Changelog ==
307
 
308
+ = 3.2.4 (2019-12-19) =
309
+ * Fix OptOut button URL
310
+ * Filter hook added for notice message
311
+
312
  = 3.2.3 (2019-12-17) =
313
  * Fix All-In-One-SEO Title and Description
314
 
includes/classes/class-woo-feed-tracker.php CHANGED
@@ -75,6 +75,7 @@ if( ! class_exists( 'WooFeedTracker' ) ) {
75
  }
76
 
77
  $client = new WebAppick\AppServices\Client( '4e68acba-cbdc-476b-b4bf-eab176ac6a16', 'WooCommerce Product Feed', WOO_FEED_FREE_FILE );
 
78
  $this->insights = $client->insights();
79
 
80
  // $this->license = $client->license();
@@ -89,10 +90,12 @@ if( ! class_exists( 'WooFeedTracker' ) ) {
89
  */
90
  $this->insights->add_extra( [
91
  'products' => $this->insights->get_post_count( 'product' ),
 
92
  'batch_limit' => get_option( 'woo_feed_per_batch' ),
93
- 'using_currency_conversion' => ( ! empty( get_option( 'woo_feed_currency_api_code', '' ) ) ),
94
  'product_cat_num' => $catCount,
95
  ] );
 
96
  // Promo offers
97
  $this->promotion = $client->promotions();
98
  $this->promotion->set_source( 'https://api.bitbucket.org/2.0/snippets/woofeed/RLbyop/files/woo-feed-notice.json' )->init();
@@ -110,12 +113,11 @@ if( ! class_exists( 'WooFeedTracker' ) ) {
110
  */
111
  public function data_we_collect( $data ) {
112
  $data = array_merge( $data, [
113
- esc_html__( 'Number of products in your site', 'woo-feed' ),
114
- esc_html__( 'Number of product categories in your site', 'woo-feed' ),
115
- esc_html__( 'Site language', 'woo-feed' ),
116
- esc_html__( 'Number of active and inactive plugins', 'woo-feed' ),
117
- esc_html__( 'Site name and url', 'woo-feed' ),
118
- esc_html__( 'Your name and email address', 'woo-feed' )
119
  ] );
120
  return $data;
121
  }
75
  }
76
 
77
  $client = new WebAppick\AppServices\Client( '4e68acba-cbdc-476b-b4bf-eab176ac6a16', 'WooCommerce Product Feed', WOO_FEED_FREE_FILE );
78
+
79
  $this->insights = $client->insights();
80
 
81
  // $this->license = $client->license();
90
  */
91
  $this->insights->add_extra( [
92
  'products' => $this->insights->get_post_count( 'product' ),
93
+ 'variations' => $this->insights->get_post_count( 'product_variation' ),
94
  'batch_limit' => get_option( 'woo_feed_per_batch' ),
95
+
96
  'product_cat_num' => $catCount,
97
  ] );
98
+
99
  // Promo offers
100
  $this->promotion = $client->promotions();
101
  $this->promotion->set_source( 'https://api.bitbucket.org/2.0/snippets/woofeed/RLbyop/files/woo-feed-notice.json' )->init();
113
  */
114
  public function data_we_collect( $data ) {
115
  $data = array_merge( $data, [
116
+ esc_html__( 'Number of products in your site.', 'woo-feed' ),
117
+ esc_html__( 'Number of product categories in your site.', 'woo-feed' ),
118
+ esc_html__( 'Site name, language and url.', 'woo-feed' ),
119
+ esc_html__( 'Number of active and inactive plugins.', 'woo-feed' ),
120
+ esc_html__( 'Your name and email address.', 'woo-feed' )
 
121
  ] );
122
  return $data;
123
  }
libs/WebAppick/AppServices/Insights.php CHANGED
@@ -18,10 +18,10 @@ class Insights {
18
  *
19
  * @var string
20
  */
21
- public $notice;
22
 
23
  /**
24
- * Wheather to the notice or not
25
  *
26
  * @var boolean
27
  */
@@ -203,7 +203,7 @@ class Insights {
203
  'version' => $this->client->getProjectVersion(),
204
  'url' => esc_url( home_url() ),
205
  'site' => $this->__get_site_name(),
206
- 'admin_email' => $admin_emails,
207
  'first_name' => $admin_user->first_name ? $admin_user->first_name : $admin_user->display_name,
208
  'last_name' => $admin_user->last_name,
209
  'plugin' => $this->client->getName(),
@@ -239,7 +239,7 @@ class Insights {
239
  */
240
  protected function data_we_collect() {
241
  $data = [
242
- esc_html__( 'Server environment details (php, mysql, server, WordPress versions)', 'webappick' ),
243
  ];
244
  $data = apply_filters( $this->client->getSlug() . '_what_tracked', $data );
245
  return $data;
@@ -339,7 +339,7 @@ class Insights {
339
  if ( ! $this->__is_local_server() ) {
340
 
341
  if ( empty( $this->notice ) ) {
342
- $notice = sprintf( esc_html__( 'Want to help make %1$s even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', 'webappick' ), '<strong>'.$this->client->getName().'</strong>' );
343
  } else {
344
  $notice = $this->notice;
345
  }
@@ -364,7 +364,7 @@ class Insights {
364
  * @return string
365
  */
366
  public function get_opt_in_url() {
367
- return add_query_arg( $this->client->getSlug() . '_tracker_optOut', 'true' );
368
  }
369
 
370
  /**
@@ -372,7 +372,7 @@ class Insights {
372
  * @return string
373
  */
374
  public function get_opt_out_url() {
375
- return add_query_arg( $this->client->getSlug() . '_tracker_optIn', 'true' );
376
  }
377
 
378
  /**
18
  *
19
  * @var string
20
  */
21
+ protected $notice;
22
 
23
  /**
24
+ * Whether to the notice or not
25
  *
26
  * @var boolean
27
  */
203
  'version' => $this->client->getProjectVersion(),
204
  'url' => esc_url( home_url() ),
205
  'site' => $this->__get_site_name(),
206
+ 'admin_email' => implode( ',', $admin_emails ),
207
  'first_name' => $admin_user->first_name ? $admin_user->first_name : $admin_user->display_name,
208
  'last_name' => $admin_user->last_name,
209
  'plugin' => $this->client->getName(),
239
  */
240
  protected function data_we_collect() {
241
  $data = [
242
+ esc_html__( 'Server environment details (php, mysql, server, WordPress versions).', 'webappick' ),
243
  ];
244
  $data = apply_filters( $this->client->getSlug() . '_what_tracked', $data );
245
  return $data;
339
  if ( ! $this->__is_local_server() ) {
340
 
341
  if ( empty( $this->notice ) ) {
342
+ $notice = sprintf( apply_filters( $this->client->getSlug() . '_tracking_default_notice_message', esc_html__( 'Want to help make %1$s even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', 'webappick' ) ), '<strong>'.$this->client->getName().'</strong>' );
343
  } else {
344
  $notice = $this->notice;
345
  }
364
  * @return string
365
  */
366
  public function get_opt_in_url() {
367
+ return add_query_arg( $this->client->getSlug() . '_tracker_optIn', 'true' );
368
  }
369
 
370
  /**
372
  * @return string
373
  */
374
  public function get_opt_out_url() {
375
+ return add_query_arg( $this->client->getSlug() . '_tracker_optOut', 'true' );
376
  }
377
 
378
  /**
woo-feed.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: WooCommerce Product Feed
16
  * Plugin URI: https://webappick.com/
17
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
18
- * Version: 3.2.3
19
  * Author: WebAppick
20
  * Author URI: https://webappick.com/
21
  * License: GPL v2
@@ -41,7 +41,7 @@ if( ! defined( 'WOO_FEED_VERSION' ) ) {
41
  * Plugin Version
42
  * @var string
43
  */
44
- define( 'WOO_FEED_VERSION', '3.2.3' );
45
  }
46
  if( ! defined( 'WOO_FEED_FREE_FILE') ) {
47
  /**
15
  * Plugin Name: WooCommerce Product Feed
16
  * Plugin URI: https://webappick.com/
17
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
18
+ * Version: 3.2.4
19
  * Author: WebAppick
20
  * Author URI: https://webappick.com/
21
  * License: GPL v2
41
  * Plugin Version
42
  * @var string
43
  */
44
+ define( 'WOO_FEED_VERSION', '3.2.4' );
45
  }
46
  if( ! defined( 'WOO_FEED_FREE_FILE') ) {
47
  /**