PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
← All changes | includes/booking_modes_v3/booking_modes-toolbar.php +3 -4 11.8.2 → 11.9 View file →
@@ -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 }