| @@ -1192,9 +1192,9 @@ | ||
| 1192 | 1192 | // <editor-fold defaultstate="collapsed" desc=" Advanced " > |
| 1193 | 1193 | |
| 1194 | 1194 | if ( wpbc_is_11_6_features_enabled() && wpbc_booking_resources_catalog_can_manage_settings() ) { |
| 1195 | 1195 | $is_pro_compatible = wpbc_booking_resources_catalog_is_pro_compatible(); |
| 1196 | - $description = __( 'Legacy catalog pages are deprecated and scheduled for removal in Booking Calendar 11.7. This setting applies to all administration catalogs upgraded in Booking Calendar 11.6.', 'booking' ); | |
| 1196 | + $description = __( 'Choose the new or legacy pages for upgraded administration catalogs, including Seasonal Availability and Searchable Resources when their new catalogs are enabled. Legacy pages remain available for compatibility.', 'booking' ); | |
| 1197 | 1197 | |
| 1198 | 1198 | if ( ! $is_pro_compatible ) { |
| 1199 | 1199 | $pro_version = wpbc_booking_resources_catalog_get_pro_version(); |
| 1200 | 1200 | if ( '' === $pro_version ) { |
| @@ -1201,9 +1201,9 @@ | ||
| 1201 | 1201 | $pro_version = __( 'Unknown', 'booking' ); |
| 1202 | 1202 | } |
| 1203 | 1203 | |
| 1204 | 1204 | /* translators: 1: Detected Booking Calendar Pro version, 2: Minimum compatible Pro version. */ |
| 1205 | - $description = sprintf( __( 'Legacy catalog mode is required because Booking Calendar Pro %1$s is active. Update Pro to %2$s or newer to use the new catalogs. Legacy catalog pages are deprecated and scheduled for removal in Booking Calendar 11.7.', 'booking' ), esc_html( $pro_version ), esc_html( wpbc_booking_resources_catalog_get_minimum_pro_version() ) ); | |
| 1205 | + $description = sprintf( __( 'Legacy catalog mode is required because Booking Calendar Pro %1$s is active. Update Pro to %2$s or newer to use the new catalogs. Legacy pages remain available for compatibility.', 'booking' ), esc_html( $pro_version ), esc_html( wpbc_booking_resources_catalog_get_minimum_pro_version() ) ); | |
| 1206 | 1206 | } |
| 1207 | 1207 | |
| 1208 | 1208 | $this->fields['booking_resources_catalog_renderer'] = array( |
| 1209 | 1209 | 'type' => 'select', |
| @@ -1544,9 +1544,9 @@ | ||
| 1544 | 1544 | ?> |
| 1545 | 1545 | <div class="wpdvlp-sub-tabs wpbc_redirection_message" |
| 1546 | 1546 | style="margin: 20px 0;padding: 1em;font-size: 14px;"> |
| 1547 | 1547 | <a href="<?php |
| 1548 | - echo esc_url( wpbc_get_setup_wizard_page_url() ); ?>">Redirect</a> after <span | |
| 1548 | + echo esc_url( wpbc_get_settings_url() ); ?>">Redirect</a> after <span | |
| 1549 | 1549 | class="wpbc_countdown">1</span> second... |
| 1550 | 1550 | </div> |
| 1551 | 1551 | <?php |
| 1552 | 1552 | |
| @@ -1575,22 +1575,13 @@ | ||
| 1575 | 1575 | . 'Reset custom forms' |
| 1576 | 1576 | . '</a>'; |
| 1577 | 1577 | |
| 1578 | 1578 | |
| 1579 | - $my_system_buttons .= ' <a class="button button-secondary" style="background:#fff9e6;" href="' | |
| 1580 | - . esc_url( wpbc_get_settings_url() | |
| 1581 | - . '&wpbc_setup_wizard=reset&_wpnonce='. wp_create_nonce( 'wpbc_settings_url_nonce' ) ) .'">' | |
| 1582 | - . 'Reset Setup Wizard' | |
| 1583 | - . '</a>'; | |
| 1584 | -// if ( ( isset( $_GET['wpbc_setup_wizard'] ) ) && ( 'reset' === $_GET['wpbc_setup_wizard'] ) ) { | |
| 1585 | -// $my_system_buttons .= '<script type="text/javascript"> window.location.href = "' . esc_url( wpbc_get_setup_wizard_page_url() ) . '"; </script>'; | |
| 1586 | -// } | |
| 1587 | - $my_system_buttons .= ' <a class="button button-secondary" style="background:#fff9e6;" href="' | |
| 1588 | - . esc_url( wpbc_get_settings_url() | |
| 1589 | - . '&wpbc_setup_wizard=completed&_wpnonce='. wp_create_nonce( 'wpbc_settings_url_nonce' ) ) .'">' | |
| 1590 | - . 'Set Setup Wizard as Completed' | |
| 1591 | - . '</a>'; | |
| 1592 | - } | |
| 1579 | + $my_system_buttons .= ' <a class="button button-secondary" style="background:#fff9e6;" href="' | |
| 1580 | + . esc_url( wpbc_get_setup_wizard_page_url() ) . '">' | |
| 1581 | + . 'Open Setup Wizard' | |
| 1582 | + . '</a>'; | |
| 1583 | + } | |
| 1593 | 1584 | |
| 1594 | 1585 | $this->fields['tools_section_buttons']['value'][] = |
| 1595 | 1586 | '<div class="wpbc_booking_system_info_buttons_align">' |
| 1596 | 1587 | . $my_system_buttons |