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-appointment/add_appointment__page.php +12 -1 11.6.1 → 11.9 View file →
@@ -146,8 +146,9 @@
146 146 'disabledLabel' => __( 'Disabled', 'booking' ),
147 147 'minutesLabel' => __( 'min', 'booking' ),
148 148 'allowPast' => $settings['allow_past'] ? 1 : 0,
149 149 'allowPastDateArr' => $allow_past_date_arr,
150 + 'adminBookingNonce' => WPBC_Add_Booking_Component::get_admin_booking_nonce(),
150 151 )
151 152 );
152 153 }
153 154 add_action( 'wpbc_enqueue_js_files', 'wpbc_add_appointment_page_enqueue_js', 73 );
@@ -179,9 +180,9 @@
179 180 return array(
180 181 'add-appointment' => array(
181 182 'is_show_top_path' => true,
182 183 'is_show_top_navigation' => true,
183 - 'left_navigation__default_view_mode' => 'min',
184 + 'left_navigation__default_view_mode' => '', // FixIn:11.7.1.1: 'min',
184 185 'right_vertical_sidebar__is_show' => true,
185 186 'right_vertical_sidebar__default_view_mode' => '',
186 187 'right_vertical_sidebar_compact__is_show' => true,
187 188 'page_title' => __( 'Add New Appointment', 'booking' ),
@@ -286,8 +287,18 @@
286 287 'open' => false,
287 288 ),
288 289 function () {
289 290 $send_emails = get_bk_option( 'booking_send_emails_off_addbooking' ) !== 'On';
291 + wpbc_render_admin_cost_correction_control(
292 + array(
293 + 'input_id' => 'wpbc_add_appointment_cost_correction',
294 + 'wrapper_class' => 'wpbc_add_appointment__setting_row wpbc_add_appointment__cost_correction',
295 + 'label_class' => 'wpbc_add_appointment__cost_correction_label',
296 + 'control_class' => 'wpbc_add_appointment__cost_correction_control',
297 + 'help_class' => 'wpbc_add_appointment__tool_help',
298 + 'help' => __( 'Leave the number empty to use the calculated Appointment cost. Enter an exact total to replace the final cost for this Appointment.', 'booking' ),
299 + )
300 + );
290 301 ?>
291 302 <div class="wpbc_add_appointment__setting_row wpbc_add_appointment__setting_row--toggle">
292 303 <?php
293 304 wpbc_flex_toggle(