Changeset 444865
- Timestamp:
- 09/28/2011 04:46:16 PM (14 years ago)
- Location:
- bookings/trunk
- Files:
-
- 2 edited
-
bookings.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bookings/trunk/bookings.php
r444785 r444865 5 5 Description: Bookings is a powerful reservations scheduler. 6 6 Author: Zingiri 7 Version: 0.9. 27 Version: 0.9.3 8 8 Author URI: http://www.zingiri.net/ 9 9 */ 10 10 11 define("BOOKINGS_VERSION","0.9. 2");11 define("BOOKINGS_VERSION","0.9.3"); 12 12 13 13 // Pre-2.6 compatibility for wp-content folder location … … 59 59 60 60 $upload=wp_upload_dir(); 61 if (!is_writable(session_save_path())) $errors[]='PHP sessions are not properly configured on your server, the sessions save path '.session_save_path().' is not writable.';61 //if (!is_writable(session_save_path())) $errors[]='PHP sessions are not properly configured on your server, the sessions save path '.session_save_path().' is not writable.'; 62 62 if ($upload['error']) $errors[]=$upload['error']; 63 63 if (get_option('bookings_debug')) $warnings[]="Debug is active, once you finished debugging, it's recommended to turn this off"; … … 68 68 if (count($warnings) > 0) { 69 69 echo "<div id='zing-warning' style='background-color:greenyellow' class='updated fade'><p><strong>"; 70 foreach ($warnings as $message) echo ' WHMCS Bridge: '.$message.'<br />';70 foreach ($warnings as $message) echo 'Bookings: '.$message.'<br />'; 71 71 echo "</strong> "."</p></div>"; 72 72 } 73 73 if (count($errors) > 0) { 74 74 echo "<div id='zing-warning' style='background-color:pink' class='updated fade'><p><strong>"; 75 foreach ($errors as $message) echo ' WHMCS Bridge:'.$message.'<br />';75 foreach ($errors as $message) echo 'Bookings:'.$message.'<br />'; 76 76 echo "</strong> "."</p></div>"; 77 77 } … … 219 219 $wp['login']=$current_user->data->user_login; 220 220 $wp['email']=$current_user->data->user_email; 221 $wp['first_name']=$current_user->data->first_name ;222 $wp['last_name']=$current_user->data->last_name ;221 $wp['first_name']=$current_user->data->first_name ? $current_user->data->first_name: $current_user->data->display_name; 222 $wp['last_name']=$current_user->data->last_name ? $current_user->data->last_name : $current_user->data->display_name; 223 223 $wp['roles']=$current_user->roles; 224 224 } -
bookings/trunk/readme.txt
r444785 r444865 5 5 Requires at least: 2.1.7 6 6 Tested up to: 3.2.1 7 Stable tag: 0.9. 27 Stable tag: 0.9.3 8 8 9 9 Bookings is a powerful reservations scheduler. … … 41 41 == Changelog == 42 42 43 = 0.9.3 = 44 * Removed references to WHMCS Bridge in admin notices 45 * Forced display name as first name and/or last name when those are not specified 46 * Disabled check on sessions save path 47 43 48 = 0.9.2 = 44 49 * Fixed issue with installations running PHP 5.2 or lower
Note: See TracChangeset
for help on using the changeset viewer.