PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | wizard/inc/wizard-core.php +7 -3 3.2.0 → 3.3.0 View file →
@@ -50,10 +50,14 @@
50 50 add_action( 'admin_init', array( $this, 'setup_wizard' ) );
51 51 add_action( 'admin_init', array( $this, 'hide_notices' ) );
52 52 add_action( 'admin_notices', array( $this, 'show_setup_wizard' ) );
53 53 add_action( 'woocommerce_installed', array( $this, 'disable_woo_setup_redirect' ) );
54 - // We are hiding admin bar intentionally for setup wizard.
55 - add_filter( 'show_admin_bar', '__return_false', 1 ); //phpcs:ignore WordPressVIPMinimum.UserExperience.AdminBarRemoval.RemovalDetected
54 + // We are hiding admin bar intentionally, only on the setup wizard page. This
55 + // constructor runs on every is_admin() request, so an unscoped filter removed
56 + // the toolbar from the whole of wp-admin.
57 + if ( isset( $_GET['page'] ) && 'cartflow-setup' === $_GET['page'] ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended
58 + add_filter( 'show_admin_bar', '__return_false', 1 ); //phpcs:ignore WordPressVIPMinimum.UserExperience.AdminBarRemoval.RemovalDetected, WordPressVIPMinimum.UserExperience.AdminBarRemoval.HidingDetected
59 + }
56 60
57 61 add_action( 'init', array( $this, 'load_scripts' ) );
58 62 add_action( 'admin_print_styles', array( $this, 'load_admin_media_styles' ) );
59 63
@@ -314,9 +318,9 @@
314 318 'slug' => 'woocommerce',
315 319 'status' => $this->get_plugin_status( 'woocommerce/woocommerce.php' ),
316 320 ),
317 321 array(
318 - 'name' => 'Cart Abandonment',
322 + 'name' => 'Cart Abandonment Recovery for WooCommerce',
319 323 'slug' => 'woo-cart-abandonment-recovery',
320 324 'status' => $this->get_plugin_status( 'woo-cart-abandonment-recovery/woo-cart-abandonment-recovery.php' ),
321 325 ),
322 326 array(