WP Simple Booking Calendar - Version 1.4.1

Version Description

  • Small hash tweak
Download this release

Release Info

Developer bryght
Plugin Icon 128x128 WP Simple Booking Calendar
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4 to 1.4.1

css/sbc.css CHANGED
@@ -67,7 +67,7 @@
67
  }
68
 
69
  #sbc-calendar .sbc-navigation select {
70
- margin: 0; padding: 0 !important; width: auto; height: auto;
71
  }
72
 
73
  #sbc-calendar form {margin: 0 !important;}
@@ -160,4 +160,7 @@
160
  text-align: right !important;
161
  }
162
 
163
- span.powered-by {width:192px; text-align:center; padding-top:3px; clear:both; }
 
 
 
67
  }
68
 
69
  #sbc-calendar .sbc-navigation select {
70
+ margin: 0; padding: 0 !important; width: auto; height: auto; font-size: 14px;
71
  }
72
 
73
  #sbc-calendar form {margin: 0 !important;}
160
  text-align: right !important;
161
  }
162
 
163
+ span.powered-by {width:192px; text-align:center; padding-top:3px; clear:both; }
164
+
165
+ div#sbc-calendar-wrapper p { padding:0 !important;}
166
+ div#sbc-calendar-wrapper br {display:none !important;}
library/WpSimpleBookingCalendar/Controller.php CHANGED
@@ -187,8 +187,11 @@ class WpSimpleBookingCalendar_Controller
187
  * @return string
188
  */
189
  protected function _generateNonceAction($action, $id = 0) {
190
- global $wp_version;
191
- return implode('-', array(get_home_url(), $wp_version, self::HOOK, $action, get_current_user_id(), $id));
 
 
 
192
  }
193
 
194
  /**
187
  * @return string
188
  */
189
  protected function _generateNonceAction($action, $id = 0) {
190
+ $pieces = array(self::HOOK, $action);
191
+ if ($id !== 0) {
192
+ array_push($pieces, $id);
193
+ }
194
+ return implode('-', $pieces);
195
  }
196
 
197
  /**
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Bryght, BestWebSoft
3
  Tags: booking calendar, bookings, booking, bookable, calendar, availability calendar, availability, reservation calendar, reservations, scheduling, schedule, rooms, hotel, holiday home, accommodations, dateblocker, date blocker, bed and breakfast, belegungsplan, beschikbaarheidskalender
4
  Requires at least: 3.0
5
- Tested up to: 3.9.2
6
- Stable tag: 1.4
7
 
8
  This booking calendar shows when something is booked or available. Use it to show when your holiday home is available for rent, for example.
9
 
@@ -50,10 +50,12 @@ Features of the Premium version:
50
 
51
  1. Upload `wp-simple-booking-calendar` directory to the `/wp-content/plugins/` directory
52
  2. Activate the plugin through the 'Plugins' menu in WordPress
53
- 3. Go to the settings page of the plugin to setup a calendar
54
- 4. Embed the calendar on any page or post using the shortcode **[sbc]**
 
 
55
 
56
- A sidebar widget is also available.
57
 
58
 
59
  == Frequently Asked Questions ==
@@ -79,6 +81,9 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
79
 
80
  == Changelog ==
81
 
 
 
 
82
  = 1.4 =
83
  * Security hardening (added a unique identifier to all urls in a form of a hash)
84
 
@@ -97,6 +102,9 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
97
 
98
  == Upgrade Notice ==
99
 
 
 
 
100
  = 1.4 =
101
  * Security hardening (added a unique identifier to all urls in a form of a hash)
102
 
2
  Contributors: Bryght, BestWebSoft
3
  Tags: booking calendar, bookings, booking, bookable, calendar, availability calendar, availability, reservation calendar, reservations, scheduling, schedule, rooms, hotel, holiday home, accommodations, dateblocker, date blocker, bed and breakfast, belegungsplan, beschikbaarheidskalender
4
  Requires at least: 3.0
5
+ Tested up to: 4.4
6
+ Stable tag: 1.4.1
7
 
8
  This booking calendar shows when something is booked or available. Use it to show when your holiday home is available for rent, for example.
9
 
50
 
51
  1. Upload `wp-simple-booking-calendar` directory to the `/wp-content/plugins/` directory
52
  2. Activate the plugin through the 'Plugins' menu in WordPress
53
+ 3. Click on the menu entry 'WP Simple Booking Calendar'
54
+ 4. Click on 'Add New' at the top of the page to create a calendar
55
+ 5. Click 'Save Changes' at the bottom of the page to save the calendar
56
+ 6. Embed the calendar on any page or post using the shortcode **[sbc title="yes"]** or **[sbc title="no"]**
57
 
58
+ A sidebar widget is also available
59
 
60
 
61
  == Frequently Asked Questions ==
81
 
82
  == Changelog ==
83
 
84
+ = 1.4.1 =
85
+ * Small hash tweak
86
+
87
  = 1.4 =
88
  * Security hardening (added a unique identifier to all urls in a form of a hash)
89
 
102
 
103
  == Upgrade Notice ==
104
 
105
+ = 1.4.1 =
106
+ * Small hash tweak
107
+
108
  = 1.4 =
109
  * Security hardening (added a unique identifier to all urls in a form of a hash)
110
 
wp-simple-booking-calendar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Simple Booking Calendar
4
  * Plugin URI: http://www.wpsimplebookingcalendar.com
5
  * Description: WP Simple Booking Calendar - Free Version.
6
- * Version: 1.4
7
  * Author: WP Simple Booking Calendar
8
  * Author URI: http://www.wpsimplebookingcalendar.com
9
  * License: GPL2
3
  * Plugin Name: WP Simple Booking Calendar
4
  * Plugin URI: http://www.wpsimplebookingcalendar.com
5
  * Description: WP Simple Booking Calendar - Free Version.
6
+ * Version: 1.4.1
7
  * Author: WP Simple Booking Calendar
8
  * Author URI: http://www.wpsimplebookingcalendar.com
9
  * License: GPL2