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/page-add-booking/add_booking__modal.php +2 -4 11.5 → 11.9 View file →
@@ -106,9 +106,9 @@
106 106 }
107 107
108 108
109 109 /**
110 - * Print a feature-gated route to the Service-first administrator workflow.
110 + * Print the released route to the Service-first administrator workflow.
111 111 *
112 112 * The standard Add Booking form remains the popup's primary action. This
113 113 * secondary route is hidden by the modal client whenever an existing booking
114 114 * is being edited.
@@ -116,11 +116,9 @@
116 116 * @return void
117 117 */
118 118 private static function print_add_appointment_entry() {
119 119 if (
120 - ! function_exists( 'wpbc_is_11_5_features_enabled' )
121 - || ! wpbc_is_11_5_features_enabled()
122 - || ! function_exists( 'wpbc_add_appointment_page_get_url' )
120 + ! function_exists( 'wpbc_add_appointment_page_get_url' )
123 121 || ! WPBC_Add_Booking_Component::current_user_can_add_booking()
124 122 ) {
125 123 return;
126 124 }