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 | admin/modules/setup-wizard/setup-wizard.php +1 -17 3.10.6 → 3.13.3 View file →
@@ -177,9 +177,8 @@
177 177 * @since 1.0.0
178 178 */
179 179 private function setup_wizard()
180 180 {
181 -
182 181 $steps = array(
183 182 'type' => array(
184 183 'name' => 'Funnel Type',
185 184 'slug' => 'funnel-type',
@@ -256,8 +255,9 @@
256 255
257 256 wp_enqueue_style('setup-wizard', WPFNL_URL . 'admin/assets/css/wpfnl-admin.css', false, '1.1', 'all');
258 257 wp_enqueue_script('setup-wizard-runtime', WPFNL_URL . 'admin/assets/dist/runtime/index.min.js', array(), time(), true);
259 258 wp_enqueue_script('setup-wizard', WPFNL_URL . 'admin/assets/dist/js/setup-wizard.min.js', array('jquery', 'wp-util', 'updates', 'setup-wizard-runtime'), time(), true);
259 + Wpfnl_functions::enqueue_bundle_style( 'setup-wizard', 'setup-wizard-bundle' );
260 260 wp_localize_script('setup-wizard', 'setup_wizard_obj',
261 261 array(
262 262 'rest_api_url' => esc_url_raw(get_rest_url()),
263 263 'ajax_url' => esc_url_raw(admin_url('admin-ajax.php')),
@@ -288,9 +288,8 @@
288 288 'is_ff_active' => is_plugin_active( 'fluentform/fluentform.php' ) ? 'yes' : 'no',
289 289 'is_cl_active' => is_plugin_active( 'cart-lift/cart-lift.php' ) ? 'yes' : 'no',
290 290 'is_qb_active' => is_plugin_active( 'qubely/qubely.php' ) ? 'yes' : 'no',
291 291 'is_pro_active' => Wpfnl_functions::is_wpfnl_pro_activated() ? 'yes' : 'no',
292 - 'funnel_type' => $this->get_funnel_type(),
293 292 'getPlugins' => $this->get_essential_plugins(),
294 293 'defaultSettings' => Wpfnl_functions::get_general_settings(),
295 294 'logo_url' => WPFNL_URL .'admin/assets/images/setup-funnel-logo.png',
296 295 'welcome_image' => WPFNL_URL .'admin/assets/images/welcome-image.png',
@@ -380,23 +379,8 @@
380 379 }
381 380 }
382 381
383 382
384 - /**
385 - * Get funnel type
386 - *
387 - * @since 2.5.3
388 - */
389 - private function get_funnel_type(){
390 - $general_settings = get_option( '_wpfunnels_general_settings' );
391 - if( isset($general_settings['funnel_type']) ){
392 - if( 'woocommerce' == $general_settings['funnel_type'] ){
393 - return 'sales';
394 - }
395 - return $general_settings['funnel_type'];
396 - }
397 - return 'sales';
398 - }
399 383
400 384
401 385
402 386