Plugin Directory

Changeset 444865


Ignore:
Timestamp:
09/28/2011 04:46:16 PM (14 years ago)
Author:
zingiri
Message:

0.9.3

Location:
bookings/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bookings/trunk/bookings.php

    r444785 r444865  
    55 Description: Bookings is a powerful reservations scheduler.
    66 Author: Zingiri
    7  Version: 0.9.2
     7 Version: 0.9.3
    88 Author URI: http://www.zingiri.net/
    99 */
    1010
    11 define("BOOKINGS_VERSION","0.9.2");
     11define("BOOKINGS_VERSION","0.9.3");
    1212
    1313// Pre-2.6 compatibility for wp-content folder location
     
    5959
    6060    $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.';
    6262    if ($upload['error']) $errors[]=$upload['error'];
    6363    if (get_option('bookings_debug')) $warnings[]="Debug is active, once you finished debugging, it's recommended to turn this off";
     
    6868    if (count($warnings) > 0) {
    6969        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 />';
    7171        echo "</strong> "."</p></div>";
    7272    }
    7373    if (count($errors) > 0) {
    7474        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 />';
    7676        echo "</strong> "."</p></div>";
    7777    }
     
    219219        $wp['login']=$current_user->data->user_login;
    220220        $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;
    223223        $wp['roles']=$current_user->roles;
    224224    }
  • bookings/trunk/readme.txt

    r444785 r444865  
    55Requires at least: 2.1.7
    66Tested up to: 3.2.1
    7 Stable tag: 0.9.2
     7Stable tag: 0.9.3
    88
    99Bookings is a powerful reservations scheduler.
     
    4141== Changelog ==
    4242
     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
    4348= 0.9.2 =
    4449* Fixed issue with installations running PHP 5.2 or lower
Note: See TracChangeset for help on using the changeset viewer.