Restaurant Reservations - Version 2.5.7

Version Description

(2022-04-05) = - Fixed an issue that was causing an error with Stripe deposit payments when SCA was enabled.

Download this release

Release Info

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

Code changes from version 2.5.6 to 2.5.7

includes/Booking.class.php CHANGED
@@ -1420,7 +1420,9 @@ class rtbBooking {
1420
  if ( empty( $this->date_submission ) ) {
1421
  $meta['date_submission'] = (new DateTime( 'now', wp_timezone() ))->format( 'U' );
1422
  } else {
1423
- $meta['date_submission'] = $this->date_submission->format( 'U' );
 
 
1424
  }
1425
 
1426
  if ( !empty( $this->consent_acquired ) ) {
1420
  if ( empty( $this->date_submission ) ) {
1421
  $meta['date_submission'] = (new DateTime( 'now', wp_timezone() ))->format( 'U' );
1422
  } else {
1423
+ $meta['date_submission'] = $this->date_submission instanceof DateTime
1424
+ ? $this->date_submission->format('U')
1425
+ : $this->date_submission;
1426
  }
1427
 
1428
  if ( !empty( $this->consent_acquired ) ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: FiveStarPlugins
3
  Requires at Least: 4.4
4
  Tested Up To: 5.9
5
  Tags: reservation, reservations, restaurant reservations, reservation form, restaurant booking, restaurant reservation form, restaurant booking form, restaurant booking system, reservation system, online reservations, online restaurant booking, dinner reservations, restaurant form, gutenberg reservations, gutenberg restaurant reservations, gutenberg restaurant booking, mobile reservations, responsive reservations, table reservations, open table, book table, reserve table, easy reservations, simple reservations, quick restaurant reservations, custom reservation form, custom restaurant reservations
6
- Stable tag: 2.5.6
7
  License: GPLv3
8
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate Link: https://www.etoilewebdesign.com/plugin-donations/
@@ -198,6 +198,9 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
198
 
199
  == Changelog ==
200
 
 
 
 
201
  = 2.5.6 (2022-04-01) =
202
  - Fixed an issue stemming from the date/time stamp in the details pop-up on the admin bookings screen that was causing an error to display in the admin.
203
 
3
  Requires at Least: 4.4
4
  Tested Up To: 5.9
5
  Tags: reservation, reservations, restaurant reservations, reservation form, restaurant booking, restaurant reservation form, restaurant booking form, restaurant booking system, reservation system, online reservations, online restaurant booking, dinner reservations, restaurant form, gutenberg reservations, gutenberg restaurant reservations, gutenberg restaurant booking, mobile reservations, responsive reservations, table reservations, open table, book table, reserve table, easy reservations, simple reservations, quick restaurant reservations, custom reservation form, custom restaurant reservations
6
+ Stable tag: 2.5.7
7
  License: GPLv3
8
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
9
  Donate Link: https://www.etoilewebdesign.com/plugin-donations/
198
 
199
  == Changelog ==
200
 
201
+ = 2.5.7 (2022-04-05) =
202
+ - Fixed an issue that was causing an error with Stripe deposit payments when SCA was enabled.
203
+
204
  = 2.5.6 (2022-04-01) =
205
  - Fixed an issue stemming from the date/time stamp in the details pop-up on the admin bookings screen that was causing an error to display in the admin.
206
 
restaurant-reservations.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
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.5.6
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations
@@ -39,7 +39,7 @@ class rtbInit {
39
  public function __construct() {
40
 
41
  // Common strings
42
- define( 'RTB_VERSION', '2.5.6' );
43
  define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
44
  define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
45
  define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
3
  * Plugin Name: Five Star Restaurant Reservations - WordPress Booking Plugin
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.5.7
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations
39
  public function __construct() {
40
 
41
  // Common strings
42
+ define( 'RTB_VERSION', '2.5.7' );
43
  define( 'RTB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
44
  define( 'RTB_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
45
  define( 'RTB_PLUGIN_FNAME', plugin_basename( __FILE__ ) );