PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.38
Timetics – Appointment Booking Calendar & Scheduling v1.0.38
1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 All 64 releases
← All changes | templates/emails/new-event.php +5 -5 1.0.15 → 1.0.38 View file →
@@ -22,18 +22,18 @@
22 22 $email_title = timetics_get_option( 'booking_created_host_email_title' );
23 23 $email_title = ! empty( $email_title ) ? $email_title : $this->get_title();
24 24
25 25 $meeting_id = $this->meeting->get_id();
26 - $booking_cancel_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() .'&booking_action=cancel';
27 - $booking_reschedule_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() . '&booking_action=reschedule';
26 + $booking_cancel_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() .'&booking_action=cancel'. '&appointment_token=' . $this->booking->get_security_token();
27 + $booking_reschedule_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() . '&booking_action=reschedule'. '&appointment_token='. $this->booking->get_security_token();
28 28
29 29
30 30 $placeholders = [
31 - '{%meeting_title%}' => $this->meeting->name,
31 + '{%meeting_title%}' => $this->meeting->get_name(),
32 32 '{%meeting_date%}' => $date,
33 33 '{%meeting_time%}' => $time,
34 34 '{%meeting_location%}' => $location,
35 - '{%meeting_duration%}' => $this->meeting->duration,
35 + '{%meeting_duration%}' => $this->meeting->get_duration(),
36 36 '{%host_name%}' => $staff_name,
37 37 '{%host_email%}' => $this->staff->get_email(),
38 38 '{%customer_name%}' => $customer_name,
39 39 '{%customer_email%}' => $customer_email,
@@ -51,9 +51,9 @@
51 51 </div>
52 52
53 53 <?php if ( $email_body ): ?>
54 54
55 - <?php echo timetics_replace_placeholder( $email_body, $placeholders ); ?>
55 + <?php echo wp_kses( timetics_replace_placeholder( $email_body, $placeholders ), 'post' ); ?>
56 56 <?php if ( 'google-meet' === $location_type && $join_link ): ?>
57 57 <div class="single-data-entry" style="margin: 10px 0 20px;">
58 58 <p style="font-weight: 600; font-size: 14px; line-height: 1; color: #0C274A; margin: 0 0 5px;">
59 59 <?php esc_html_e( 'Location:', 'timetics' );?>