Restaurant Reservations - Version 2.0.13

Version Description

(2020-02-14) = - Adding in a separate success message option for automatically-confirmed bookings - Updating the mPDF library

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Restaurant Reservations
Version 2.0.13
Comparing to
See all releases

Code changes from version 2.0.12 to 2.0.13

includes/template-functions.php CHANGED
@@ -90,7 +90,7 @@ function rtb_print_booking_form( $args = array() ) {
90
  <div class="rtb-booking-form">
91
  <?php if ( $rtb_controller->request->request_inserted === true ) : ?>
92
  <div class="rtb-message">
93
- <p><?php echo $rtb_controller->settings->get_setting( 'success-message' ); ?></p>
94
  </div>
95
  <?php else : ?>
96
  <form method="POST" action="<?php echo esc_attr( $booking_page ); ?>">
90
  <div class="rtb-booking-form">
91
  <?php if ( $rtb_controller->request->request_inserted === true ) : ?>
92
  <div class="rtb-message">
93
+ <p><?php echo ($rtb_controller->request->post_status == 'confirmed') ? $rtb_controller->settings->get_setting( 'confirmed-message' ) : $rtb_controller->settings->get_setting( 'success-message' ); ?></p>
94
  </div>
95
  <?php else : ?>
96
  <form method="POST" action="<?php echo esc_attr( $booking_page ); ?>">
readme.txt CHANGED
@@ -184,6 +184,10 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
184
 
185
  == Changelog ==
186
 
 
 
 
 
187
  = 2.0.12 (2020-02-10) =
188
  - Fixing error with PDF export not rendering/downloading correctly
189
 
184
 
185
  == Changelog ==
186
 
187
+ = 2.0.13 (2020-02-14) =
188
+ - Adding in a separate success message option for automatically-confirmed bookings
189
+ - Updating the mPDF library
190
+
191
  = 2.0.12 (2020-02-10) =
192
  - Fixing error with PDF export not rendering/downloading correctly
193
 
restaurant-reservations.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Five Star Restaurant Reservations
4
  * Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
5
  * Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
6
- * Version: 2.0.12
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations
3
  * Plugin Name: Five Star Restaurant Reservations
4
  * Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
5
  * Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
6
+ * Version: 2.0.13
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations