| @@ -155,8 +155,11 @@ | ||
| 155 | 155 | * |
| 156 | 156 | * @return bool True when the current route may render QuickStart. |
| 157 | 157 | */ |
| 158 | 158 | function wpbc_booking_modes_is_quickstart_route_allowed( $page_tag, $active_page_tab ) { |
| 159 | + if ( 'wpbc-setup' === (string) $page_tag ) { | |
| 160 | + return false; | |
| 161 | + } | |
| 159 | 162 | |
| 160 | 163 | return ! ( 'wpbc-settings' === (string) $page_tag && 'builder_booking_form' === (string) $active_page_tab ); |
| 161 | 164 | } |
| 162 | 165 | |
| @@ -181,12 +184,8 @@ | ||
| 181 | 184 | return; |
| 182 | 185 | } |
| 183 | 186 | |
| 184 | 187 | unset( $active_page_subtab ); |
| 185 | - | |
| 186 | - if ( function_exists( 'wpbc_setup_wizard_page__is_in_progress' ) && wpbc_setup_wizard_page__is_in_progress() ) { | |
| 187 | - return; | |
| 188 | - } | |
| 189 | 188 | |
| 190 | 189 | if ( function_exists( 'wpbc_is_this_demo' ) && wpbc_is_this_demo() ) { |
| 191 | 190 | return; |
| 192 | 191 | } |