Restaurant Reservations - Version 2.1.3

Version Description

(2020-05-20) = - Corrected an issue that was causing an error when trying to create or edit a booking in the admin when reCAPTCHA was enabled.

Download this release

Release Info

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

Code changes from version 2.1.2 to 2.1.3

includes/Booking.class.php CHANGED
@@ -479,7 +479,7 @@ class rtbBooking {
479
  }
480
 
481
  // reCAPTCHA
482
- if ( $rtb_controller->settings->get_setting( 'enable-captcha' ) ) {
483
  if ( ! isset($_POST['g-recaptcha-response']) ) {
484
  $this->validation_errors[] = array(
485
  'field' => 'recaptcha',
479
  }
480
 
481
  // reCAPTCHA
482
+ if ( $rtb_controller->settings->get_setting( 'enable-captcha' ) && !is_admin() ) {
483
  if ( ! isset($_POST['g-recaptcha-response']) ) {
484
  $this->validation_errors[] = array(
485
  'field' => 'recaptcha',
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Five Star Restaurant Reservations ===
2
  Contributors: FiveStarPlugins
3
  Requires at Least: 4.4
4
- Tested Up To: 5.3
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
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
@@ -184,6 +184,9 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
184
 
185
  == Changelog ==
186
 
 
 
 
187
  = 2.1.2 (2020-04-09) =
188
  - Corrected an issue that was removing spaces and capital letters from the date and time format options
189
 
1
  === Five Star Restaurant Reservations ===
2
  Contributors: FiveStarPlugins
3
  Requires at Least: 4.4
4
+ Tested Up To: 5.4
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
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
184
 
185
  == Changelog ==
186
 
187
+ = 2.1.3 (2020-05-20) =
188
+ - Corrected an issue that was causing an error when trying to create or edit a booking in the admin when reCAPTCHA was enabled.
189
+
190
  = 2.1.2 (2020-04-09) =
191
  - Corrected an issue that was removing spaces and capital letters from the date and time format options
192
 
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.1.2
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.1.3
7
  * Author: FiveStarPlugins
8
  * Author URI: https://profiles.wordpress.org/fivestarplugins/
9
  * Text Domain: restaurant-reservations