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/cancel-event.php +3 -3 1.0.15 → 1.0.38 View file →
@@ -20,13 +20,13 @@
20 20 $email_title = timetics_get_option( 'booking_canceled_host_email_title' );
21 21 $email_title = ! empty( $email_title ) ? $email_title : $this->get_title();
22 22
23 23 $placeholders = [
24 - '{%meeting_title%}' => $this->meeting->name,
24 + '{%meeting_title%}' => $this->meeting->get_name(),
25 25 '{%meeting_date%}' => $date,
26 26 '{%meeting_time%}' => $time,
27 27 '{%meeting_location%}' => $location,
28 - '{%meeting_duration%}' => $this->meeting->duration,
28 + '{%meeting_duration%}' => $this->meeting->get_duration(),
29 29 '{%host_name%}' => $staff_name,
30 30 '{%host_email%}' => $this->staff->get_email(),
31 31 '{%customer_name%}' => $customer_name,
32 32 '{%customer_email%}' => $customer_email,
@@ -43,9 +43,9 @@
43 43 </h3>
44 44 </div>
45 45
46 46 <?php if ( $email_body ): ?>
47 - <?php echo timetics_replace_placeholder( $email_body, $placeholders ); ?>
47 + <?php echo wp_kses( timetics_replace_placeholder( $email_body, $placeholders ), 'post' ); ?>
48 48 <?php else: ?>
49 49 <p class="greeting" style="color: #556880; margin-bottom: 5px">
50 50 <?php printf( esc_html__( 'Hi %s,', 'timetics' ), esc_html( $staff_name ) );?>
51 51 </p>