WooCommerce Conversion Tracking - Version 2.0.8

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon 128x128 WooCommerce Conversion Tracking
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

conversion-tracking.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: WooCommerce Conversion Tracking
4
  Plugin URI: https://wedevs.com/woocommerce-conversion-tracking/
5
  Description: Adds various conversion tracking codes to cart, checkout, registration success and product page on WooCommerce
6
- Version: 2.0.7
7
  Author: weDevs
8
  Author URI: https://wedevs.com/?utm_source=ORG_Author_URI_WCCT
9
  License: GPL2
10
  WC requires at least: 2.3
11
- WC tested up to: 4.0.1
12
  */
13
 
14
  /**
@@ -54,7 +54,7 @@ class WeDevs_WC_Conversion_Tracking {
54
  *
55
  * @var string
56
  */
57
- public $version = '2.0.6';
58
 
59
  /**
60
  * Holds various class instances
3
  Plugin Name: WooCommerce Conversion Tracking
4
  Plugin URI: https://wedevs.com/woocommerce-conversion-tracking/
5
  Description: Adds various conversion tracking codes to cart, checkout, registration success and product page on WooCommerce
6
+ Version: 2.0.8
7
  Author: weDevs
8
  Author URI: https://wedevs.com/?utm_source=ORG_Author_URI_WCCT
9
  License: GPL2
10
  WC requires at least: 2.3
11
+ WC tested up to: 5.2
12
  */
13
 
14
  /**
54
  *
55
  * @var string
56
  */
57
+ public $version = '2.0.8';
58
 
59
  /**
60
  * Holds various class instances
includes/class-ajax.php CHANGED
@@ -11,6 +11,8 @@ class WCCT_Ajax {
11
  public function __construct() {
12
  add_action( 'wp_ajax_wcct_save_settings', array( $this, 'wcct_save_settings' ) );
13
  add_action( 'wp_ajax_activate_happy_addons', array( $this, 'wcct_install_happy_addons' ) );
 
 
14
  }
15
 
16
  /**
@@ -98,4 +100,19 @@ class WCCT_Ajax {
98
  'message' => __( 'Successfully installed and activate,', 'woocommerce-conversion-tracking' )
99
  ]);
100
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
11
  public function __construct() {
12
  add_action( 'wp_ajax_wcct_save_settings', array( $this, 'wcct_save_settings' ) );
13
  add_action( 'wp_ajax_activate_happy_addons', array( $this, 'wcct_install_happy_addons' ) );
14
+
15
+ add_action( 'wp_ajax_wcct_dismissable_notice', array( $this, 'wcct_dismissable_notice' ) );
16
  }
17
 
18
  /**
100
  'message' => __( 'Successfully installed and activate,', 'woocommerce-conversion-tracking' )
101
  ]);
102
  }
103
+
104
+ /**
105
+ * Dismissable notice
106
+ *
107
+ * @return object
108
+ */
109
+ public function wcct_dismissable_notice() {
110
+ if ( ! current_user_can( 'manage_options' ) ) {
111
+ return;
112
+ }
113
+
114
+ update_option( 'wcct_dismissable_notice', 'closed' );
115
+
116
+ wp_send_json_success();
117
+ }
118
  }
includes/class-integration-pro-features.php CHANGED
@@ -135,12 +135,8 @@ class WCCT_Pro_Features {
135
  <li>Bing Ads</li>
136
  </ul>
137
 
138
- <a href="https://wedevs.com/woocommerce-conversion-tracking/upgrade-to-pro/?utm_source=wp-admin&utm_medium=pro-upgrade&utm_campaign=wcct_upgrade&utm_content=Get_Premium" target="_blank" class="button button-primary"><?php esc_html_e( 'Get Premium', 'woocommerce-conversion-tracking' ) ?></a>
139
-
140
- <p style="margin-bottom: 0" class="help">
141
- Get <strong>50% Discount</strong> on pro upgrade for a limited time.
142
- </p>
143
  </div>
144
  <?php
145
  }
146
- }
135
  <li>Bing Ads</li>
136
  </ul>
137
 
138
+ <a href="https://woocommerce.com/products/woocommerce-conversion-tracking-pro/" target="_blank" class="button button-primary"><?php esc_html_e( 'Get Premium', 'woocommerce-conversion-tracking' ) ?></a>
 
 
 
 
139
  </div>
140
  <?php
141
  }
142
+ }
languages/woocommerce-conversion-tracking.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Conversion Tracking 2.0.7\n"
6
  "Report-Msgid-Bugs-To: https://example.com\n"
7
- "POT-Creation-Date: 2020-05-02 07:11:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -45,15 +45,15 @@ msgstr ""
45
  msgid "Integrations"
46
  msgstr ""
47
 
48
- #: includes/class-ajax.php:52
49
  msgid "Settings has been saved successfully!"
50
  msgstr ""
51
 
52
- #: includes/class-ajax.php:73
53
  msgid "ERROR: Error fetching plugin information: %s"
54
  msgstr ""
55
 
56
- #: includes/class-ajax.php:98
57
  msgid "Successfully installed and activate,"
58
  msgstr ""
59
 
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Conversion Tracking 2.0.8\n"
6
  "Report-Msgid-Bugs-To: https://example.com\n"
7
+ "POT-Creation-Date: 2020-06-10 06:53:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
45
  msgid "Integrations"
46
  msgstr ""
47
 
48
+ #: includes/class-ajax.php:54
49
  msgid "Settings has been saved successfully!"
50
  msgstr ""
51
 
52
+ #: includes/class-ajax.php:75
53
  msgid "ERROR: Error fetching plugin information: %s"
54
  msgstr ""
55
 
56
+ #: includes/class-ajax.php:100
57
  msgid "Successfully installed and activate,"
58
  msgstr ""
59
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: tareq1988, wedevs
3
  Tags: ecommerce, e-commerce, commerce, woocommerce, tracking, facebook, google, adwords, tracking-pixel
4
  Donate link: https://tareq.co/donate/
5
  Requires at least: 4.0
6
- Tested up to: 5.4
7
- Stable tag: 2.0.7
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -101,6 +101,11 @@ Additionally, read weDevs [privacy policy](https://wedevs.com/privacy-policy/) f
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
104
  = Version 2.0.7 (2 May, 2020) =
105
 
106
  * **Fix:** Removed unnecessary usage of `wp_kses_post()`, which was breaking the plugin.
3
  Tags: ecommerce, e-commerce, commerce, woocommerce, tracking, facebook, google, adwords, tracking-pixel
4
  Donate link: https://tareq.co/donate/
5
  Requires at least: 4.0
6
+ Tested up to: 5.7
7
+ Stable tag: 2.0.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = Version 2.0.8 (10 June, 2020) =
105
+
106
+ * **Fix:** Dismissable HA notice, was introduced in v2.0.7.
107
+ * **Fix:** Removed discount notice as it was deprecated.
108
+
109
  = Version 2.0.7 (2 May, 2020) =
110
 
111
  * **Fix:** Removed unnecessary usage of `wp_kses_post()`, which was breaking the plugin.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit1ee244c23bd3f7f8b8c7215834da50ae::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInite2dd6f74d7800282daab2886fcaef132::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit1ee244c23bd3f7f8b8c7215834da50ae
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit1ee244c23bd3f7f8b8c7215834da50ae
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit1ee244c23bd3f7f8b8c7215834da50ae', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit1ee244c23bd3f7f8b8c7215834da50ae', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInite2dd6f74d7800282daab2886fcaef132
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInite2dd6f74d7800282daab2886fcaef132', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInite2dd6f74d7800282daab2886fcaef132', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInite2dd6f74d7800282daab2886fcaef132::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -120,9 +120,9 @@ class ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae
120
  public static function getInitializer(ClassLoader $loader)
121
  {
122
  return \Closure::bind(function () use ($loader) {
123
- $loader->prefixLengthsPsr4 = ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae::$prefixLengthsPsr4;
124
- $loader->prefixDirsPsr4 = ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae::$prefixDirsPsr4;
125
- $loader->classMap = ComposerStaticInit1ee244c23bd3f7f8b8c7215834da50ae::$classMap;
126
 
127
  }, null, ClassLoader::class);
128
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInite2dd6f74d7800282daab2886fcaef132
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
120
  public static function getInitializer(ClassLoader $loader)
121
  {
122
  return \Closure::bind(function () use ($loader) {
123
+ $loader->prefixLengthsPsr4 = ComposerStaticInite2dd6f74d7800282daab2886fcaef132::$prefixLengthsPsr4;
124
+ $loader->prefixDirsPsr4 = ComposerStaticInite2dd6f74d7800282daab2886fcaef132::$prefixDirsPsr4;
125
+ $loader->classMap = ComposerStaticInite2dd6f74d7800282daab2886fcaef132::$classMap;
126
 
127
  }, null, ClassLoader::class);
128
  }