| @@ -1929,11 +1929,11 @@ | ||
| 1929 | 1929 | <div class="wpbc_ui_settings__card wpbc_ui_settings__card_divider_right"> |
| 1930 | 1930 | <div class="wpbc_ui_settings__center"> |
| 1931 | 1931 | <a class="wpbc_admin_button wpbc_admin_button--success tooltip_top" |
| 1932 | 1932 | title="<?php echo esc_attr( sprintf( __('We\'ll guide you through the steps to set up WP Booking Calendar on your site.','booking'), '<strong>WP Booking Calendar</strong>' ) ); ?>" |
| 1933 | - href="<?php echo esc_url( wpbc_get_settings_url() . '&wpbc_setup_wizard=reset&_wpnonce=' . wp_create_nonce( 'wpbc_settings_url_nonce' ) ); ?>"><?php | |
| 1934 | - esc_html_e( 'Start Setup Wizard', 'booking' ) | |
| 1935 | - ?></a> | |
| 1933 | + href="<?php echo esc_url( wpbc_get_setup_wizard_page_url() ); ?>"><?php | |
| 1934 | + esc_html_e( 'Start Setup Wizard', 'booking' ) | |
| 1935 | + ?></a> | |
| 1936 | 1936 | </div> |
| 1937 | 1937 | </div> |
| 1938 | 1938 | <?php |
| 1939 | 1939 | } |
| @@ -1950,9 +1950,9 @@ | ||
| 1950 | 1950 | * @return void |
| 1951 | 1951 | */ |
| 1952 | 1952 | function wpbc_ui_settings_panel__card__open_test_pages_popup() { |
| 1953 | 1953 | |
| 1954 | - $can_open_booking_pages = class_exists( 'WPBC_Setup_Wizard_First_Run_Popup' ) && WPBC_Setup_Wizard_First_Run_Popup::can_manually_open_booking_pages_dialog(); | |
| 1954 | + $can_open_booking_pages = class_exists( 'WPBC_Setup_Wizard_Booking_Pages' ) && WPBC_Setup_Wizard_Booking_Pages::can_manually_open_booking_pages_dialog(); | |
| 1955 | 1955 | |
| 1956 | 1956 | if ( $can_open_booking_pages ) : |
| 1957 | 1957 | ?> |
| 1958 | 1958 | <div class="wpbc_ui_settings__card wpbc_ui_settings__card_divider_right"> |
| @@ -2057,11 +2057,11 @@ | ||
| 2057 | 2057 | <?php if ( $params_btn['is_show_wizard_button'] ) { ?> |
| 2058 | 2058 | <div class="wpbc_ui_settings__center" style="flex: 1 1 auto;"> |
| 2059 | 2059 | <a class="wpbc_admin_button wpbc_admin_button--success tooltip_top" |
| 2060 | 2060 | title="<?php echo esc_attr( sprintf( __('We\'ll guide you through the steps to set up WP Booking Calendar on your site.','booking'), '<strong>WP Booking Calendar</strong>' ) ); ?>" |
| 2061 | - href="<?php echo esc_url( wpbc_get_settings_url() . '&wpbc_setup_wizard=reset&_wpnonce=' . wp_create_nonce( 'wpbc_settings_url_nonce' ) ); ?>"><?php | |
| 2062 | - esc_html_e( 'Start Setup Wizard', 'booking' ) | |
| 2063 | - ?></a> | |
| 2061 | + href="<?php echo esc_url( wpbc_get_setup_wizard_page_url() ); ?>"><?php | |
| 2062 | + esc_html_e( 'Start Setup Wizard', 'booking' ) | |
| 2063 | + ?></a> | |
| 2064 | 2064 | </div> |
| 2065 | 2065 | <?php } ?> |
| 2066 | 2066 | </div><?php |
| 2067 | 2067 | } |