Changeset 2333366
- Timestamp:
- 07/01/2020 08:33:23 AM (6 years ago)
- Location:
- advanced-booking-calendar/trunk
- Files:
-
- 3 edited
-
advanced-booking-calendar.php (modified) (3 diffs)
-
frontend/calendaroverview.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-booking-calendar/trunk/advanced-booking-calendar.php
r2285484 r2333366 6 6 Author: Advanced Booking Calendar 7 7 Author URI: https://booking-calendar-plugin.com 8 Version: 1.6. 48 Version: 1.6.5 9 9 Text Domain: advanced-booking-calendar 10 10 Domain Path: /languages/ … … 154 154 dbDelta($seasonsAssignment); 155 155 } 156 add_option('abc_pluginversion', '16 4');156 add_option('abc_pluginversion', '165'); 157 157 add_option ('abc_email', get_option( 'admin_email' )); 158 158 add_option ('abc_bookingpage', 0); … … 625 625 update_option( 'abc_pluginversion', '164'); 626 626 } 627 628 if(get_option( 'abc_pluginversion' ) < '165') { 629 update_option( 'abc_pluginversion', '165'); 630 } 627 631 } 628 632 add_action( 'plugins_loaded', 'advanced_booking_update_check' ); -
advanced-booking-calendar/trunk/frontend/calendaroverview.php
r2285484 r2333366 82 82 <tbody>'; 83 83 $bookings = array(); 84 $normFromValue = strtotime("-1 day", $startDate);84 $normFromValue = date("Y-m-d", strtotime("-1 day", $startDate)); 85 85 $normToValue = date("Y-m-d", strtotime("+".$maxday."days", $startDate)); 86 86 $unconfirmedBookings = 'state = \'confirmed\''; … … 96 96 OR (end <= \''.$normFromValue.'\' AND end >= \''.$normToValue.'\') 97 97 OR (end >= \''.$normFromValue.'\' AND end <= \''.$normToValue.'\') 98 )', ARRAY_A); 98 )', ARRAY_A); 99 99 foreach($bookingQuery as $bookingRow){ 100 100 $bookings[$bookingRow["calendar_id"]][] = $bookingRow; // Getting all confirmed bookings for the current month … … 116 116 } 117 117 118 $cTime = $normFromValue;118 $cTime = strtotime($normFromValue); 119 119 for ($i=0; $i<($maxday*2); $i++) { 120 120 $cAvailability = ''; -
advanced-booking-calendar/trunk/readme.txt
r2285484 r2333366 4 4 Requires at least: 4.3.0 5 5 Tested up to: 5.4 6 Stable tag: 1.6. 46 Stable tag: 1.6.5 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 102 102 == Changelog == 103 103 104 = 1.6.5 = 105 * Fixed missing bookings in the overview. 106 104 107 = 1.6.4 = 105 108 * Added email copy to custom messages.
Note: See TracChangeset
for help on using the changeset viewer.