PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.3
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
← All changes | wpfnl.php +12 -5 3.13.2 → 3.13.3 View file →
@@ -14,9 +14,9 @@
14 14 * @wordpress-plugin
15 15 * Plugin Name: WPFunnels
16 16 * Plugin URI: https://getwpfunnels.com
17 17 * Description: Easiest 💥 Sales Funnel Builder 💥 For WordPress & WooCommerce by WPFunnels - Generate Leads & Craft A Highly-Converting Sales Journey In Minutes
18 - * Version: 3.13.2
18 + * Version: 3.13.3
19 19 * Author: WPFunnels Team
20 20 * Author URI: https://getwpfunnels.com
21 21 * License: GPL-2.0+
22 22 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -39,9 +39,9 @@
39 39 * Rename this for your plugin and update it as you release new versions.
40 40 */
41 41
42 42 if (!defined('WPFNL_VERSION')) {
43 - define('WPFNL_VERSION', '3.13.2');
43 + define('WPFNL_VERSION', '3.13.3');
44 44 }
45 45
46 46 if (!defined('WPFNL_FILE')) {
47 47 define('WPFNL_FILE', __FILE__);
@@ -157,14 +157,21 @@
157 157 require_once plugin_dir_path(__FILE__) . 'includes/utils/class-wpfnl-deactivator.php';
158 158 Wpfnl_Deactivator::deactivate();
159 159 }
160 160
161 +/*
162 + * Registered before the telemetry client is built: the SDK registers its own
163 + * deactivation callback when constructed, at the same priority, and that one
164 + * deletes the "feedback modal submitted" transient. wpfunnels_plugin_deactivated
165 + * (which sends the activity trail) has to read it first.
166 + */
167 +register_activation_hook(__FILE__, 'activate_wpfnl');
168 +register_deactivation_hook(__FILE__, 'deactivate_wpfnl');
169 +
161 170 require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php';
171 +require_once plugin_dir_path(__FILE__) . 'includes/core/Tracking/class-wpfnl-activity-trail.php';
162 172 require_once plugin_dir_path(__FILE__) . 'includes/core/Tracking/class-wpfnl-telemetry.php';
163 173 Telemetry::init();
164 -
165 -register_activation_hook(__FILE__, 'activate_wpfnl');
166 -register_deactivation_hook(__FILE__, 'deactivate_wpfnl');
167 174
168 175
169 176
170 177 /**