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.4 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 All 262 releases
← All changes | includes/class-wpfnl.php +11 -0 3.13.0 → 3.13.3 View file →
@@ -291,8 +291,19 @@
291 291 add_action( 'admin_notices', array('WPFunnels\Admin\Notices\Notice', 'woocommerce_dependency_notice') );
292 292 return;
293 293 }*/
294 294
295 + /**
296 + * Store Checkout needs WooCommerce. While it is missing, keep the
297 + * activation endpoint registered so the Store Checkout screen can
298 + * install/activate WooCommerce without leaving the page.
299 + *
300 + * @since 3.13.1
301 + */
302 + if ( ! Wpfnl_functions::is_wc_active() ) {
303 + add_action( 'wp_ajax_plugin_install_success', array( $this, 'plugin_install_success' ) );
304 + }
305 +
295 306 // load core modules
296 307 add_action( 'admin_footer', array($this, 'admin_footer_style') );
297 308 add_action( 'wpfunnels/pro_init', array( $this, 'after_pro_plugin_init' ) );
298 309 add_action( 'plugins_loaded', array($this, 'load_plugin'), 9 );