Booking Calendar - Version 8.4.6

Version Description

  • Changes in all versions:
    • Fix. Issue of not showing bookings in timeline during scrolling to next dates periods (issue was exist only in previous 8.4.5 update) (8.4.6.1)
Download this release

Release Info

Developer wpdevelop
Plugin Icon 128x128 Booking Calendar
Version 8.4.6
Comparing to
See all releases

Code changes from version 8.4.5 to 8.4.6

core/admin/wpbc-class-timeline.php CHANGED
@@ -63,7 +63,7 @@ class WPBC_Timeline {
63
  , 'booking_hash' => ( isset( $_REQUEST['booking_hash'] ) ) ? $_REQUEST['booking_hash'] : '' //FixIn: 8.1.3.5
64
 
65
  );
66
-
67
  $this->timeline_titles = array(
68
  'header_column1' => __('Resources', 'booking')
69
  , 'header_column2' => __('Dates', 'booking')
@@ -392,7 +392,7 @@ class WPBC_Timeline {
392
 
393
  // Get booking details by HASH, and then return Email (or other data of booking, or false if error
394
  $booking_details_email = wpbc_check_hash_get_booking_details( $attr['booking_hash'] , 'email' );
395
-
396
  if ( ! empty( $booking_details_email ) ) {
397
 
398
  // Do not show booking resources with no bookings
@@ -400,7 +400,9 @@ class WPBC_Timeline {
400
 
401
  //Set keyword for showing bookings ony relative to this email
402
  $args['wh_keyword'] = $booking_details_email; // 'jo@wpbookingcalendar.com';
403
- } else { //FixIn: 8.4.5.13
 
 
404
  $this->request_args['only_booked_resources'] = 1;
405
  $args['wh_keyword'] = '``^`````^^````^`````````';
406
  }
63
  , 'booking_hash' => ( isset( $_REQUEST['booking_hash'] ) ) ? $_REQUEST['booking_hash'] : '' //FixIn: 8.1.3.5
64
 
65
  );
66
+
67
  $this->timeline_titles = array(
68
  'header_column1' => __('Resources', 'booking')
69
  , 'header_column2' => __('Dates', 'booking')
392
 
393
  // Get booking details by HASH, and then return Email (or other data of booking, or false if error
394
  $booking_details_email = wpbc_check_hash_get_booking_details( $attr['booking_hash'] , 'email' );
395
+ //debuge($attr, $booking_details_email);
396
  if ( ! empty( $booking_details_email ) ) {
397
 
398
  // Do not show booking resources with no bookings
400
 
401
  //Set keyword for showing bookings ony relative to this email
402
  $args['wh_keyword'] = $booking_details_email; // 'jo@wpbookingcalendar.com';
403
+ }
404
+ if ( ( empty( $booking_details_email ) ) && ( ! empty( $attr['booking_hash'] ) ) ) { //FixIn: 8.4.6.1
405
+ //FixIn: 8.4.5.13
406
  $this->request_args['only_booked_resources'] = 1;
407
  $args['wh_keyword'] = '``^`````^^````^`````````';
408
  }
core/wpbc-constants.php CHANGED
@@ -26,7 +26,7 @@ if ( ! defined( 'WP_BK_CHECK_OUT_MINUS_DAY_SEARCH' ) ) { define( 'WP_BK_C
26
  ////////////////////////////////////////////////////////////
27
  // SYSTEM CONSTANTS //////////////
28
  ////////////////////////////////////////////////////////////
29
- if ( ! defined( 'WP_BK_VERSION_NUM' ) ) { define( 'WP_BK_VERSION_NUM', '8.4.5' ); }
30
  if ( ! defined( 'WP_BK_MINOR_UPDATE' ) ) { define( 'WP_BK_MINOR_UPDATE', true ); }
31
  if ( ! defined( 'WP_BK_RESPONSE' ) ) { define( 'WP_BK_RESPONSE', false ); }
32
  if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL', 0 ); } // Set 0 for no filling or 2 for 241 bookings or more for more
26
  ////////////////////////////////////////////////////////////
27
  // SYSTEM CONSTANTS //////////////
28
  ////////////////////////////////////////////////////////////
29
+ if ( ! defined( 'WP_BK_VERSION_NUM' ) ) { define( 'WP_BK_VERSION_NUM', '8.4.6' ); }
30
  if ( ! defined( 'WP_BK_MINOR_UPDATE' ) ) { define( 'WP_BK_MINOR_UPDATE', true ); }
31
  if ( ! defined( 'WP_BK_RESPONSE' ) ) { define( 'WP_BK_RESPONSE', false ); }
32
  if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL', 0 ); } // Set 0 for no filling or 2 for 241 bookings or more for more
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://wpbookingcalendar.com/buy/
4
  Tags: booking calendar, booking system, availability calendar, events calendar, appointments , booking form, reservation, availability, oplugins, calendar, Booking Calendar, ical
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
- Tested up to: 5.1
8
- Stable tag: 8.4.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -226,6 +226,10 @@ Please see [Video Guides](https://wpbookingcalendar.com/help/).
226
 
227
  == Changelog ==
228
 
 
 
 
 
229
  = 8.4.5 =
230
  - Changes in **all** versions:
231
  * **Translation** Slovenian translation [100% completed] by Klemen Gaber
@@ -248,6 +252,7 @@ Please see [Video Guides](https://wpbookingcalendar.com/help/).
248
  * **Fix**. Warning: Illegal string offset 'booking_hash' (8.4.5.11) *(Personal Business Small/Medium/Large, MultiUser)*
249
  * **Fix**. Issue of in booking customer listing shortcode in timeline during cancellation of booking and going back (8.4.5.13) *(Personal Business Small/Medium/Large, MultiUser)*
250
  * **Fix**. Issue Uncaught TypeError: myURLParams[myParam].split is not a function at setDaySelectionsInCalendar (8.4.5.14) *(Business Large, MultiUser)*
 
251
 
252
  = 8.4.4 =
253
  - Changes in **all** versions:
4
  Tags: booking calendar, booking system, availability calendar, events calendar, appointments , booking form, reservation, availability, oplugins, calendar, Booking Calendar, ical
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
+ Tested up to: 5.2
8
+ Stable tag: 8.4.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
226
 
227
  == Changelog ==
228
 
229
+ = 8.4.6 =
230
+ - Changes in **all** versions:
231
+ * **Fix**. Issue of not showing bookings in timeline during scrolling to next dates periods (issue was exist only in previous 8.4.5 update) (8.4.6.1)
232
+
233
  = 8.4.5 =
234
  - Changes in **all** versions:
235
  * **Translation** Slovenian translation [100% completed] by Klemen Gaber
252
  * **Fix**. Warning: Illegal string offset 'booking_hash' (8.4.5.11) *(Personal Business Small/Medium/Large, MultiUser)*
253
  * **Fix**. Issue of in booking customer listing shortcode in timeline during cancellation of booking and going back (8.4.5.13) *(Personal Business Small/Medium/Large, MultiUser)*
254
  * **Fix**. Issue Uncaught TypeError: myURLParams[myParam].split is not a function at setDaySelectionsInCalendar (8.4.5.14) *(Business Large, MultiUser)*
255
+ * **Fix**. Issue Uncaught TypeError: inst.dates[date_index].getFullYear is not a function (8.4.5.16)*(Business Small/Medium/Large, MultiUser)*
256
 
257
  = 8.4.4 =
258
  - Changes in **all** versions:
wpdev-booking.php CHANGED
@@ -7,7 +7,7 @@ Author: wpdevelop, oplugins
7
  Author URI: https://wpbookingcalendar.com/
8
  Text Domain: booking
9
  Domain Path: /languages/
10
- Version: 8.4.5
11
  */
12
 
13
  /* Copyright 2009 - 2019 www.wpbookingcalendar.com (email: info@wpbookingcalendar.com),
7
  Author URI: https://wpbookingcalendar.com/
8
  Text Domain: booking
9
  Domain Path: /languages/
10
+ Version: 8.4.6
11
  */
12
 
13
  /* Copyright 2009 - 2019 www.wpbookingcalendar.com (email: info@wpbookingcalendar.com),