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/_tour/wpbc_tour.php +5 -3 11.8.2 → 11.9 View file →
@@ -164,9 +164,9 @@
164 164 'title' => sprintf( __( 'Welcome to %s', 'booking' ), '<strong>WP Booking Calendar</strong>' ),
165 165 'text' => sprintf( __('We\'ll guide you through the steps to set up WP Booking Calendar on your site.','booking'), '<strong>WP Booking Calendar</strong>' ),
166 166 'button' => array(
167 167 'text' => __( 'Let\'s go', 'booking' ),
168 - 'url' => wpbc_get_setup_wizard_page_url() // URL to start new Guide: wpbc_get_settings_url() . '&wpbc_setup_wizard=reset&_wpnonce=' . wp_create_nonce( 'wpbc_settings_url_nonce' )
168 + 'url' => wpbc_get_setup_wizard_page_url(),
169 169 )
170 170 ),
171 171 'setup_page' => array(
172 172 'title' => 'Step 1 / 10',
@@ -205,10 +205,12 @@
205 205
206 206 if (
207 207 ! is_admin()
208 208 || wpbc_is_this_demo()
209 - || ! wpbc_setup_wizard_page__is_need_start()
210 - || ! wpbc_is_user_can_access_wizard_page()
209 + || ! class_exists( 'WPBC_Setup_Wizard_First_Run_Launcher' )
210 + || ! class_exists( 'WPBC_Setup_Wizard_Access' )
211 + || ! WPBC_Setup_Wizard_First_Run_Launcher::is_prompt_pending()
212 + || ! WPBC_Setup_Wizard_Access::current_user_can_access()
211 213 ) {
212 214 return;
213 215 }
214 216