| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @version 1.0 |
| 4 | 4 | * @package Booking Calendar |
| @@ -243,15 +243,13 @@ | ||
| 243 | 243 | |
| 244 | 244 | // [bookingcalendar ... ] ---------------------------------------------------------- |
| 245 | 245 | wpbc_shortcode_config__content__bookingcalendar(); |
| 246 | 246 | |
| 247 | - if ( wpbc_is_11_5_features_enabled() ) { | |
| 248 | - // [booking_appointment ... ] -------------------------------------------------- | |
| 249 | - wpbc_shortcode_config__content__booking_appointment(); | |
| 247 | + // [booking_appointment ... ] -------------------------------------------------- | |
| 248 | + wpbc_shortcode_config__content__booking_appointment(); | |
| 250 | 249 | |
| 251 | - // [booking_resource_selector ... ] -------------------------------------------- | |
| 252 | - wpbc_shortcode_config__content__booking_resource_selector(); | |
| 253 | - } | |
| 250 | + // [booking_resource_selector ... ] -------------------------------------------- | |
| 251 | + wpbc_shortcode_config__content__booking_resource_selector(); | |
| 254 | 252 | |
| 255 | 253 | // [bookingselect ... ] ------------------------------------------------------------ |
| 256 | 254 | wpbc_shortcode_config__content__bookingselect(); |
| 257 | 255 | |
| @@ -324,9 +322,9 @@ | ||
| 324 | 322 | |
| 325 | 323 | |
| 326 | 324 | if ( |
| 327 | 325 | ( in_array( basename( $_SERVER['PHP_SELF'] ), wpbc_get_pages_where_insert_tiny_mce_buttons() ) ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing |
| 328 | - || ( ( isset( $_REQUEST['page'] ) && ( 'wpbc-resources' === $_REQUEST['page'] ) ) ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing | |
| 326 | + || wpbc_can_i_load_on__resources_page() | |
| 329 | 327 | || wpbc_is_setup_wizard_page() // || wpbc_is_bookings_page() // FixIn: 10.6.6.2. |
| 330 | 328 | || wpbc_is_builder_booking_form_page() |
| 331 | 329 | ) { |
| 332 | 330 | // FixIn: 10.6.5.1. |