Version Description
- Fixed of incorrect saving checkbox data.
- Customization of booking shortcode for setting specific week day(s) as the start day of selection in calendar, for the specific season filter. (Business Medium/Large, MultiUser)
Download this release
Release Info
Developer | wpdevelop |
Plugin | Booking Calendar |
Version | 5.0.1 |
Comparing to | |
See all releases |
Code changes from version 5.0 to 5.0.1
- js/wpdev.bk.js +7 -4
- lib/wpdev-booking-class.php +2 -1
- lib/wpdev-booking-functions.php +1 -2
- readme.txt +5 -1
- wpdev-booking.php +7 -18
js/wpdev.bk.js
CHANGED
@@ -811,13 +811,16 @@
|
|
811 |
|
812 |
|
813 |
// Get Element Value
|
814 |
-
if (element.type =='checkbox'){
|
815 |
-
|
816 |
-
|
|
|
|
|
817 |
if (element.checked) inp_value = element.value;
|
818 |
else inp_value = '';
|
819 |
}
|
820 |
-
|
|
|
821 |
|
822 |
if (element.checked) inp_value = element.value;
|
823 |
else continue;
|
811 |
|
812 |
|
813 |
// Get Element Value
|
814 |
+
if ( element.type == 'checkbox' ){
|
815 |
+
|
816 |
+
if (element.value == '') {
|
817 |
+
inp_value = element.checked;
|
818 |
+
} else {
|
819 |
if (element.checked) inp_value = element.value;
|
820 |
else inp_value = '';
|
821 |
}
|
822 |
+
|
823 |
+
} else if ( element.type == 'radio' ) {
|
824 |
|
825 |
if (element.checked) inp_value = element.value;
|
826 |
else continue;
|
lib/wpdev-booking-class.php
CHANGED
@@ -123,7 +123,7 @@ class wpdev_booking {
|
|
123 |
// add_filter( 'plugin_row_meta', array(&$this, 'plugin_row_meta'), 10, 4 ); // donot show update for Personal active plugin
|
124 |
|
125 |
// Load the jQuery in the client side
|
126 |
-
if( !is_admin() ) add_action('wp_enqueue_scripts', array(&$this, 'bc_enqueue_scripts'),100000);
|
127 |
|
128 |
if(defined('WP_ADMIN')){
|
129 |
$booking_version_num = get_option( 'booking_version_num');
|
@@ -132,6 +132,7 @@ class wpdev_booking {
|
|
132 |
add_action('plugins_loaded', array(&$this,'wpdev_booking_activate_initial'));
|
133 |
}
|
134 |
}
|
|
|
135 |
}
|
136 |
|
137 |
|
123 |
// add_filter( 'plugin_row_meta', array(&$this, 'plugin_row_meta'), 10, 4 ); // donot show update for Personal active plugin
|
124 |
|
125 |
// Load the jQuery in the client side
|
126 |
+
if( !is_admin() ) add_action('wp_enqueue_scripts', array(&$this, 'bc_enqueue_scripts'),100000);
|
127 |
|
128 |
if(defined('WP_ADMIN')){
|
129 |
$booking_version_num = get_option( 'booking_version_num');
|
132 |
add_action('plugins_loaded', array(&$this,'wpdev_booking_activate_initial'));
|
133 |
}
|
134 |
}
|
135 |
+
|
136 |
}
|
137 |
|
138 |
|
lib/wpdev-booking-functions.php
CHANGED
@@ -3,8 +3,7 @@
|
|
3 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
4 |
// S u p p o r t f u n c t i o n s ///////////////////////////////////////////////////////////////////////////////////////////////////
|
5 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
6 |
-
|
7 |
-
|
8 |
// Get array of images - icons inside of this directory
|
9 |
function wpdev_bk_dir_list ($directories) {
|
10 |
|
3 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
4 |
// S u p p o r t f u n c t i o n s ///////////////////////////////////////////////////////////////////////////////////////////////////
|
5 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
6 |
+
|
|
|
7 |
// Get array of images - icons inside of this directory
|
8 |
function wpdev_bk_dir_list ($directories) {
|
9 |
|
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.6
|
7 |
-
Stable tag: 5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -148,6 +148,10 @@ 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.0 =
|
152 |
- Features and issue fixings in All versions:
|
153 |
* **Responsive front end design.** We have completely rewritten the CSS of calendar skins and booking form. Booking form and calendar support fully responsive design 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.6
|
7 |
+
Stable tag: 5.0.1
|
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.0.1 =
|
152 |
+
* Fixed of incorrect saving checkbox data.
|
153 |
+
* Customization of booking shortcode for **setting specific week day(s)** as the **start day of selection in calendar**, for the specific **season filter**. (Business Medium/Large, MultiUser)
|
154 |
+
|
155 |
= 5.0 =
|
156 |
- Features and issue fixings in All versions:
|
157 |
* **Responsive front end design.** We have completely rewritten the CSS of calendar skins and booking form. Booking form and calendar support fully responsive design 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.0
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 3.3 - 3.6
|
@@ -35,27 +35,16 @@ Change Log and Features for Future Releases :
|
|
35 |
-----------------------------------------------
|
36 |
* New Files:
|
37 |
* =====================================
|
38 |
-
* css\
|
39 |
-
* calendar.css Done
|
40 |
-
* inc\
|
41 |
-
* form\
|
42 |
-
* index.php
|
43 |
-
* conditions.php Done
|
44 |
-
* *.php Done
|
45 |
-
* js\
|
46 |
-
* conditions.js Done
|
47 |
-
* lib_m.php Done
|
48 |
-
* \payments\authorizenet.php Done
|
49 |
-
*
|
50 |
* lib\
|
51 |
-
* \wpdev-bk-edit-toolbar-buttons.php Done
|
52 |
-
* \wpdev-bk-timeline.php Done
|
53 |
-
* \wpbc-welcome.php Done
|
54 |
-
* \wpbc-class-dismiss.php Done
|
55 |
* ====================================
|
56 |
*
|
57 |
*
|
58 |
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
= 5.0 =
|
61 |
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
@@ -183,7 +172,7 @@ Change Log and Features for Future Releases :
|
|
183 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
184 |
// D e f i n e S T A T I C //////////////////////////////////////////////////////////////////////////////////////////////////
|
185 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
186 |
-
|
187 |
if (!defined('WP_BK_SSL')) define('WP_BK_SSL', false );
|
188 |
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', false );
|
189 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|
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.0.1
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 3.3 - 3.6
|
35 |
-----------------------------------------------
|
36 |
* New Files:
|
37 |
* =====================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
* lib\
|
|
|
|
|
|
|
|
|
39 |
* ====================================
|
40 |
*
|
41 |
*
|
42 |
|
43 |
+
|
44 |
+
|
45 |
+
= 5.0.1 =
|
46 |
+
* Fixed of incorrect saving checkbox data.
|
47 |
+
* Customization of **setting specific week day(s)** as the **start day of selection in calendar**, for the specific **season filter**. (Business Medium/Large, MultiUser)
|
48 |
|
49 |
= 5.0 =
|
50 |
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
172 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
173 |
// D e f i n e S T A T I C //////////////////////////////////////////////////////////////////////////////////////////////////
|
174 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
175 |
+
if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '5.0.1' );
|
176 |
if (!defined('WP_BK_SSL')) define('WP_BK_SSL', false );
|
177 |
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', false );
|
178 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|