Booking Calendar - Version 5.1.2

Version Description

  • Features and issue fixings in All versions:
    • Fix issue of have no ability to click on the booking link on the "Calendar Overview" admin page for redirection to the "Booking Listing" page with this selected booking.
    • Fix issue of showing warning messages during activation of plugin in some versions.
  • Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
    • Fix. The issue relative to not correct language selections for email templates during creations new booking or other actions (during ajax requests). (Personal, Business Small/Medium/Large, MultiUser)
    • Fixed showing of the number of availability days for the parent booking resources, when activated "check in/out" times option on the General Booking Settings page (Business Large, MultiUser)
Download this release

Release Info

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

Code changes from version 5.1.1 to 5.1.2

js/wpdev.bk.js CHANGED
@@ -115,7 +115,7 @@
115
  if(typeof(wpbc_check_in_dates[ bk_type ]) !== 'undefined')
116
  if(typeof(wpbc_check_in_dates[ bk_type ][ class_day ]) !== 'undefined') {
117
  // [ Number of check in bookings, Pending or Approved status ]
118
- checkin_days_count = [ parseInt( wpbc_check_in_dates[ bk_type ][ class_day ][ 0 ] ), parseInt( wpbc_check_in_dates[ bk_type ][ class_day ][ 1 ] ) ];
119
  }
120
 
121
  // Number of Check Out Dates for BL
@@ -124,8 +124,14 @@
124
  if(typeof(wpbc_check_out_dates[ bk_type ]) !== 'undefined')
125
  if(typeof(wpbc_check_out_dates[ bk_type ][ class_day ]) !== 'undefined') {
126
  // [ Number of check Out bookings, Pending or Approved status ]
127
- checkout_days_count = [ parseInt( wpbc_check_out_dates[ bk_type ][ class_day ][ 0 ] ), parseInt( wpbc_check_out_dates[ bk_type ][ class_day ][ 1 ] ) ];
128
  }
 
 
 
 
 
 
129
 
130
 
131
  // we have 0 available at this day - Only for resources, which have childs
@@ -205,7 +211,7 @@
205
 
206
 
207
 
208
- var both_check_in_out_num = Math.min( checkin_days_count[0], checkout_days_count[0] );
209
  var is_exist_check_in_out_for_parent_resource = Math.max( checkin_days_count[0], checkout_days_count[0] );
210
 
211
  if ( ( time_return_value !== false ) && ( is_exist_check_in_out_for_parent_resource == 0 ) ) { // Check this only for single booking resources - is_exist_check_in_out_for_parent_resource == 0
@@ -225,42 +231,27 @@
225
 
226
  } else {
227
 
228
- if ( is_booking_used_check_in_out_time === true ) {
229
-
230
- // Check Check In / Out dates for the parent resources.
231
- if ( is_exist_check_in_out_for_parent_resource > 0 ) {
232
-
233
- if ( (reserved_days_count - both_check_in_out_num ) <= 0 ) {
234
- // Unavailable
235
- if ( checkin_days_count[1] == 1 ) additional_class = ' date_approved'; // Check Pending or Approved by the Check In date
236
- else additional_class = ' date2approve';
237
- return [false, 'cal4date-' + class_day + additional_class + blank_admin_class_day];
238
-
239
- }
240
-
241
- // Recheck if this date check in/out
242
- if ( (reserved_days_count - checkin_days_count[0]) <= 0 ) {
243
- if ( checkin_days_count[1] == 1 ) additional_class += ' date_approved';
244
- else additional_class += ' date2approve';
245
- additional_class += ' timespartly check_in_time';
246
- }
247
- if ( (reserved_days_count - checkout_days_count[0]) <= 0 ) {
248
- if ( checkout_days_count[1] == 1 ) additional_class += ' date_approved';
249
- else additional_class += ' date2approve';
250
- additional_class += ' timespartly check_out_time';
251
- }
252
-
253
- // Reduce availability
254
- if ( both_check_in_out_num > 0 ) {
255
- reserved_days_count = reserved_days_count - both_check_in_out_num;
256
- if(typeof(availability_per_day) !== 'undefined')
257
- if(typeof(availability_per_day[ bk_type ]) !== 'undefined')
258
- if(typeof(availability_per_day[ bk_type ][ class_day ]) !== 'undefined') {
259
- availability_per_day[ bk_type ][ class_day ] = reserved_days_count; }
260
- }
261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  }
263
-
 
 
 
 
264
  }
265
 
266
  return [true, 'date_available cal4date-' + class_day +' reserved_days_count' + reserved_days_count + ' ' + is_datepick_unselectable + additional_class+ ' '];
@@ -1244,12 +1235,12 @@ function verify_window_opening(us_id, window_id ){
1244
  //]]>
1245
 
1246
  function wpdev_in_array (array_here, p_val) {
1247
- for(var i = 0, l = array_here.length; i < l; i++) {
1248
- if(array_here[i] == p_val) {
1249
- return true;
1250
- }
1251
- }
1252
- return false;
1253
  }
1254
 
1255
 
115
  if(typeof(wpbc_check_in_dates[ bk_type ]) !== 'undefined')
116
  if(typeof(wpbc_check_in_dates[ bk_type ][ class_day ]) !== 'undefined') {
117
  // [ Number of check in bookings, Pending or Approved status ]
118
+ checkin_days_count = [ wpbc_check_in_dates[ bk_type ][ class_day ][ 0 ] , wpbc_check_in_dates[ bk_type ][ class_day ][ 1 ] ];
119
  }
120
 
121
  // Number of Check Out Dates for BL
124
  if(typeof(wpbc_check_out_dates[ bk_type ]) !== 'undefined')
125
  if(typeof(wpbc_check_out_dates[ bk_type ][ class_day ]) !== 'undefined') {
126
  // [ Number of check Out bookings, Pending or Approved status ]
127
+ checkout_days_count = [ wpbc_check_out_dates[ bk_type ][ class_day ][ 0 ] , wpbc_check_out_dates[ bk_type ][ class_day ][ 1 ] ];
128
  }
129
+
130
+ // Booked both check in/out dates in the same child resources
131
+ var both_check_in_out_num = 0;
132
+ if ( typeof( getNumberClosedCheckInOutDays ) == 'function' ) {
133
+ both_check_in_out_num = getNumberClosedCheckInOutDays( bk_type, class_day );
134
+ }
135
 
136
 
137
  // we have 0 available at this day - Only for resources, which have childs
211
 
212
 
213
 
214
+
215
  var is_exist_check_in_out_for_parent_resource = Math.max( checkin_days_count[0], checkout_days_count[0] );
216
 
217
  if ( ( time_return_value !== false ) && ( is_exist_check_in_out_for_parent_resource == 0 ) ) { // Check this only for single booking resources - is_exist_check_in_out_for_parent_resource == 0
231
 
232
  } else {
233
 
234
+ if ( ( is_booking_used_check_in_out_time === true ) && ( is_exist_check_in_out_for_parent_resource > 0 ) ) { // Check Check In / Out dates for the parent resources.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
 
236
+ // Unavailable
237
+ if ( (reserved_days_count - both_check_in_out_num ) <= 0 ) {
238
+ // Check Pending or Approved by the Check In date
239
+ if ( checkin_days_count[1] == 1 ) additional_class = ' date_approved';
240
+ else additional_class = ' date2approve';
241
+ return [false, 'cal4date-' + class_day + additional_class + blank_admin_class_day];
242
+ }
243
+
244
+ // Recheck if this date check in/out
245
+ if ( (reserved_days_count - checkin_days_count[0]) <= 0 ) {
246
+ if ( checkin_days_count[1] == 1 ) additional_class += ' date_approved';
247
+ else additional_class += ' date2approve';
248
+ additional_class += ' timespartly check_in_time';
249
  }
250
+ if ( (reserved_days_count - checkout_days_count[0]) <= 0 ) {
251
+ if ( checkout_days_count[1] == 1 ) additional_class += ' date_approved';
252
+ else additional_class += ' date2approve';
253
+ additional_class += ' timespartly check_out_time';
254
+ }
255
  }
256
 
257
  return [true, 'date_available cal4date-' + class_day +' reserved_days_count' + reserved_days_count + ' ' + is_datepick_unselectable + additional_class+ ' '];
1235
  //]]>
1236
 
1237
  function wpdev_in_array (array_here, p_val) {
1238
+ for(var i = 0, l = array_here.length; i < l; i++) {
1239
+ if(array_here[i] == p_val) {
1240
+ return true;
1241
+ }
1242
+ }
1243
+ return false;
1244
  }
1245
 
1246
 
lib/wpdev-bk-lib.php CHANGED
@@ -2656,29 +2656,30 @@
2656
  // Repositioning of PopOver, which out of Window
2657
  jQuery( ".popover_bottom" ).on( "mouseenter", function() {
2658
  setTimeout(function(){
2659
-
2660
- var right_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('right').replace('px', '') );
2661
- var left_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('left').replace('px', '') );
2662
-
2663
- if ( ( left_pos < 0 ) ) {
2664
- jQuery('.wpdevbk.popover.fade.bottom.in').css( {left: "10px"} );
2665
- }
2666
- if ( ( right_pos < 0 ) ) {
2667
- jQuery('.wpdevbk.popover.fade.bottom.in').css( {left: ( ( left_pos - Math.abs(right_pos) - 10) + "px" ) } );
2668
- }
2669
-
2670
- setTimeout(function(){
2671
  var right_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('right').replace('px', '') );
2672
  var left_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('left').replace('px', '') );
2673
 
2674
- if ( ( left_pos < 0 ) || ( right_pos<0 ) ) {
2675
- jQuery('.wpdevbk.popover.fade.bottom.in').css({'left':'10px','width':'95%'}) ;
2676
- jQuery('.wpdevbk.popover.fade.bottom.in .popover-inner').css({'width':'95%'}) ;
2677
- } else {
2678
- jQuery('.wpdevbk.popover.fade.bottom.in').css({'width':'auto'}) ;
2679
- jQuery('.wpdevbk.popover.fade.bottom.in .popover-inner').css({'width':'350px'}) ;
2680
  }
2681
- },5);
 
 
 
 
 
 
 
 
 
 
 
 
 
2682
  },110);
2683
  });
2684
  <?php
2656
  // Repositioning of PopOver, which out of Window
2657
  jQuery( ".popover_bottom" ).on( "mouseenter", function() {
2658
  setTimeout(function(){
2659
+ if ( jQuery( '.wpdevbk.popover.fade.bottom.in' ).length ) {
 
 
 
 
 
 
 
 
 
 
 
2660
  var right_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('right').replace('px', '') );
2661
  var left_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('left').replace('px', '') );
2662
 
2663
+ if ( ( left_pos < 0 ) ) {
2664
+ jQuery('.wpdevbk.popover.fade.bottom.in').css( {left: "10px"} );
2665
+ }
2666
+ if ( ( right_pos < 0 ) ) {
2667
+ jQuery('.wpdevbk.popover.fade.bottom.in').css( {left: ( ( left_pos - Math.abs(right_pos) - 10) + "px" ) } );
 
2668
  }
2669
+
2670
+ setTimeout(function(){
2671
+ var right_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('right').replace('px', '') );
2672
+ var left_pos = parseInt( jQuery( '.wpdevbk.popover.fade.bottom.in' ).css('left').replace('px', '') );
2673
+
2674
+ if ( ( left_pos < 0 ) || ( right_pos<0 ) ) {
2675
+ jQuery('.wpdevbk.popover.fade.bottom.in').css({'left':'10px','width':'95%'}) ;
2676
+ jQuery('.wpdevbk.popover.fade.bottom.in .popover-inner').css({'width':'95%'}) ;
2677
+ } else {
2678
+ jQuery('.wpdevbk.popover.fade.bottom.in').css({'width':'auto'}) ;
2679
+ jQuery('.wpdevbk.popover.fade.bottom.in .popover-inner').css({'width':'350px'}) ;
2680
+ }
2681
+ },5);
2682
+ }
2683
  },110);
2684
  });
2685
  <?php
lib/wpdev-bk-timeline.php CHANGED
@@ -304,9 +304,9 @@ function wpdev_bk_timeline_booking_row( $current_resource_id, $start_date, $book
304
  }
305
 
306
  // Show the circle with bk ID(s) in a day
307
- //href="'.$bk_url_listing.'&wh_booking_id='.$link_id_parameter.'&view_mode=vm_listing&tab=actions"
308
  echo '<a
309
- href="javascript:void(0)"
310
  data-content="<div class=\'\'>'.$title_hint.'</div>"
311
  data-original-title="'.'ID: '.$title.'"
312
  rel="popover" class="'.write_bk_id_css_classes('a_bk_id_',$previous_booking_id).' popover_bottom ' . ( ($title!='')?'first_day_in_bookin':'' ).' ">'.$title_in_day.'</a>';
304
  }
305
 
306
  // Show the circle with bk ID(s) in a day
307
+ //href="'.$bk_url_listing.'&wh_booking_id='.$link_id_parameter.'&view_mode=vm_listing&tab=actions"
308
  echo '<a
309
+ href="'.$bk_url_listing.'&wh_booking_id='.$link_id_parameter.'&view_mode=vm_listing&tab=actions"
310
  data-content="<div class=\'\'>'.$title_hint.'</div>"
311
  data-original-title="'.'ID: '.$title.'"
312
  rel="popover" class="'.write_bk_id_css_classes('a_bk_id_',$previous_booking_id).' popover_bottom ' . ( ($title!='')?'first_day_in_bookin':'' ).' ">'.$title_in_day.'</a>';
lib/wpdev-booking-class.php CHANGED
@@ -820,7 +820,7 @@ class wpdev_booking {
820
  function is_index_in_table_exists( $tablename , $fieldindex) {
821
  global $wpdb;
822
  if (strpos($tablename, $wpdb->prefix) ===false) $tablename = $wpdb->prefix . $tablename ;
823
- $sql_check_table = $wpdb->prepare("SHOW INDEX FROM {$tablename} WHERE Key_name = %s", $fieldindex );
824
  $res = $wpdb->get_results( $sql_check_table );
825
  if (count($res)>0) return 1;
826
  else return 0;
820
  function is_index_in_table_exists( $tablename , $fieldindex) {
821
  global $wpdb;
822
  if (strpos($tablename, $wpdb->prefix) ===false) $tablename = $wpdb->prefix . $tablename ;
823
+ $sql_check_table = $wpdb->prepare("SHOW INDEX FROM {$tablename} WHERE Key_name = %s", $fieldindex );
824
  $res = $wpdb->get_results( $sql_check_table );
825
  if (count($res)>0) return 1;
826
  else return 0;
lib/wpdev-booking-functions.php CHANGED
@@ -141,7 +141,7 @@
141
  global $wpdb;
142
  if (strpos($tablename, $wpdb->prefix) ===false)
143
  $tablename = $wpdb->prefix . $tablename ;
144
- $sql_check_table = $wpdb->prepare( "SHOW INDEX FROM {$tablename} WHERE Key_name = %s ", $fieldindex );
145
  $res = $wpdb->get_results( $sql_check_table );
146
  if (count($res)>0) return 1;
147
  else return 0;
141
  global $wpdb;
142
  if (strpos($tablename, $wpdb->prefix) ===false)
143
  $tablename = $wpdb->prefix . $tablename ;
144
+ $sql_check_table = $wpdb->prepare( "SHOW INDEX FROM {$tablename} WHERE Key_name = %s ", $fieldindex );
145
  $res = $wpdb->get_results( $sql_check_table );
146
  if (count($res)>0) return 1;
147
  else return 0;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpbookingcalendar.com/buy/
4
  Tags: booking, booking calendar, accommodations, appointment, availability, availability calendar, bed and breakfast, booking form, booking system, bookings, calendar, contact form, event, event calendar, events, hotel, meeting, online booking calendar, online reservation, reservation, reservation plugin, rooms, schedule, scheduling
5
  Requires at least: 3.3
6
  Tested up to: 3.9
7
- Stable tag: 5.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -148,6 +148,14 @@ If you have any further questions, please fill free to <a href="mailto:support@w
148
  10. **Calendar Skins**. Select calendar skin for better fitting to your site design.
149
 
150
  == Changelog ==
 
 
 
 
 
 
 
 
151
  = 5.1.1 =
152
  - Features and issue fixings in All versions:
153
  * Support **WordPress 3.9**
@@ -158,7 +166,7 @@ If you have any further questions, please fill free to <a href="mailto:support@w
158
  * **Improve speed of page loading** for booking resources with hight capacity and many season filters (Business Large, MultiUser)
159
  * Improve managment of Check In/Out dates for the booking resources with capacity higher then 1. **Show vertival line for change-over days** in calendar (Business Large, MultiUser)
160
  * Fix. Loading correct "default custom booking form" for specific booking resource in widget at sidebar (Business Medium/Large, MultiUser)
161
-
162
  = 5.1 =
163
  - Features and issue fixings in All versions:
164
  * **Responsive Booking Admin panel** that looks great on any device.
4
  Tags: booking, booking calendar, accommodations, appointment, availability, availability calendar, bed and breakfast, booking form, booking system, bookings, calendar, contact form, event, event calendar, events, hotel, meeting, online booking calendar, online reservation, reservation, reservation plugin, rooms, schedule, scheduling
5
  Requires at least: 3.3
6
  Tested up to: 3.9
7
+ Stable tag: 5.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
148
  10. **Calendar Skins**. Select calendar skin for better fitting to your site design.
149
 
150
  == Changelog ==
151
+ = 5.1.2 =
152
+ - Features and issue fixings in All versions:
153
+ * Fix issue of have no ability to click on the booking link on the "Calendar Overview" admin page for redirection to the "Booking Listing" page with this selected booking.
154
+ * Fix issue of showing warning messages during activation of plugin in some versions.
155
+ - Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
156
+ * Fix. The issue relative to not correct language selections for email templates during creations new booking or other actions (during ajax requests). (Personal, Business Small/Medium/Large, MultiUser)
157
+ * Fixed showing of the number of availability days for the parent booking resources, when activated "check in/out" times option on the General Booking Settings page (Business Large, MultiUser)
158
+
159
  = 5.1.1 =
160
  - Features and issue fixings in All versions:
161
  * Support **WordPress 3.9**
166
  * **Improve speed of page loading** for booking resources with hight capacity and many season filters (Business Large, MultiUser)
167
  * Improve managment of Check In/Out dates for the booking resources with capacity higher then 1. **Show vertival line for change-over days** in calendar (Business Large, MultiUser)
168
  * Fix. Loading correct "default custom booking form" for specific booking resource in widget at sidebar (Business Medium/Large, MultiUser)
169
+
170
  = 5.1 =
171
  - Features and issue fixings in All versions:
172
  * **Responsive Booking Admin panel** that looks great on any device.
wpdev-booking.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Booking Calendar
4
  Plugin URI: http://wpbookingcalendar.com/demo/
5
  Description: Online reservation and availability checking service for your site.
6
- Version: 5.1.1
7
  Author: wpdevelop
8
  Author URI: http://wpbookingcalendar.com/
9
  Tested WordPress Versions: 3.3 - 3.9
@@ -35,6 +35,19 @@ Change Log and Features for Future Releases :
35
  * lib\
36
  * ====================================
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  = 5.1.1 =
39
  - Features and issue fixings in All versions:
40
  * Support WordPress 3.9
@@ -45,6 +58,7 @@ Change Log and Features for Future Releases :
45
  * Improve speed of page loading for booking resources with hight capacity and many season filters (Business Large, MultiUser)
46
  * Improve mnagemnt of Check In/Out dates for the booking resources with capacity higher then 1. Show vertival line for change-over days in calendar (Business Large, MultiUser)
47
  * Fix. Loading correct "default custom booking form" for specific booking resource in widget at sidebar (Business Medium/Large, MultiUser)
 
48
 
49
  = 5.1 =
50
  - Features and issue fixings in All versions:
@@ -162,7 +176,7 @@ Change Log and Features for Future Releases :
162
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
163
  // SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
164
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
165
- if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '5.1.1' );
166
  if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', true );
167
  if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
168
  if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );
3
  Plugin Name: Booking Calendar
4
  Plugin URI: http://wpbookingcalendar.com/demo/
5
  Description: Online reservation and availability checking service for your site.
6
+ Version: 5.1.2
7
  Author: wpdevelop
8
  Author URI: http://wpbookingcalendar.com/
9
  Tested WordPress Versions: 3.3 - 3.9
35
  * lib\
36
  * ====================================
37
 
38
+ = 5.1.3 =
39
+ - Features and issue fixings in All versions:
40
+ * Added 2 "blank" files to the captcha folder.
41
+ - Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
42
+
43
+ = 5.1.2 =
44
+ - Features and issue fixings in All versions:
45
+ * Fix issue of have no ability to click on the booking link on the "Calendar Overview" admin page for redirection to the "Booking Listing" page with this selected booking.
46
+ * Fix issue of showing warning messages during activation of plugin in some versions.
47
+ - Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
48
+ * Fix. The issue relative to not correct language selections for email templates during creations new booking or other actions (during ajax requests). (Personal, Business Small/Medium/Large, MultiUser)
49
+ * Fixed showing of the number of availability days for the parent booking resources, when activated "check in/out" times option on the General Booking Settings page (Business Large, MultiUser)
50
+
51
  = 5.1.1 =
52
  - Features and issue fixings in All versions:
53
  * Support WordPress 3.9
58
  * Improve speed of page loading for booking resources with hight capacity and many season filters (Business Large, MultiUser)
59
  * Improve mnagemnt of Check In/Out dates for the booking resources with capacity higher then 1. Show vertival line for change-over days in calendar (Business Large, MultiUser)
60
  * Fix. Loading correct "default custom booking form" for specific booking resource in widget at sidebar (Business Medium/Large, MultiUser)
61
+ * Fix. The issue relative to not correct language selections for email templates during creations new booking or other actions (during ajax requests).
62
 
63
  = 5.1 =
64
  - Features and issue fixings in All versions:
176
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
177
  // SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
178
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
179
+ if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '5.1.2' );
180
  if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', true );
181
  if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
182
  if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );