Plugin Directory

Changeset 1965651


Ignore:
Timestamp:
10/30/2018 08:32:23 AM (7 years ago)
Author:
feryaz
Message:

Update to 5.0.6

Location:
easyreservations/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easyreservations/trunk/easyReservations.php

    r1965297 r1965651  
    44Plugin URI: http://www.easyreservations.org
    55Description: This powerful property and reservation management plugin allows you to receive, schedule and handle your bookings easily!
    6 Version: 5.0.5
     6Version: 5.0.6
    77Author: Feryaz Beer
    88Author URI: http://www.feryaz.de
     
    4343add_action('init', 'easyreservations_api_rewrite_rule' );
    4444*/
    45 
    46     global $wpdb;
    47 
    48     $charset_collate = $wpdb->get_charset_collate();
    49     $max_index_length = 191;
    50 
    51     $sql = "CREATE TABLE {$wpdb->prefix}reservations (
    52             id int(10) NOT NULL AUTO_INCREMENT,
    53             arrival DATETIME NOT NULL,
    54             departure DATETIME NOT NULL,
    55             user int(10) NOT NULL,
    56             name varchar(35) NOT NULL,
    57             email varchar(50) NOT NULL,
    58             country varchar(4) NOT NULL,
    59             approve varchar(3) NOT NULL,
    60             resource int(10) NOT NULL,
    61             space int(10) NOT NULL,
    62             adults int(10) NOT NULL,
    63             children int(10) NOT NULL,
    64             price DECIMAL(13,4),
    65             paid DECIMAL(13, 4) NOT NULL default '0',
    66             reserved DATETIME NOT NULL,
    67           PRIMARY KEY (id)
    68         ) $charset_collate;";
    69 
    70 
    71     $sql .= "CREATE TABLE {$wpdb->prefix}reservationmeta (
    72           meta_id bigint(20) unsigned NOT NULL auto_increment,
    73           reservation_id bigint(20) unsigned NOT NULL default '0',
    74           meta_key varchar(255) default NULL,
    75           meta_value longtext,
    76           PRIMARY KEY  (meta_id),
    77           KEY reservation_id (reservation_id),
    78           KEY meta_key (meta_key($max_index_length))
    79         ) $charset_collate;";
    80     require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    81     var_dump($sql);
    82     var_dump(dbDelta($sql));
  • easyreservations/trunk/lib/class-easyreservations.php

    r1965297 r1965651  
    88final class easyReservations {
    99    //Current Version of easyReservations
    10     public $version = '5.0.5';
     10    public $version = '5.0.6';
    1111
    1212    //Current Database Version of easyReservations
     
    4040        $reservations_settings = get_option( "reservations_settings" );
    4141
    42         define( 'RESERVATIONS_VERSION', '5.0.5' );
     42        define( 'RESERVATIONS_VERSION', '5.0.6' );
    4343        define( 'RESERVATIONS_ABSPATH', dirname( RESERVATIONS_PLUGIN_FILE ) . '/' );
    4444        define( 'RESERVATIONS_URL', WP_PLUGIN_URL . '/easyreservations/' );
  • easyreservations/trunk/readme.txt

    r1965297 r1965651  
    44Requires at least: 3.3
    55Tested up to: 4.9.8
    6 Stable tag: 5.0.5
     6Stable tag: 5.0.6
    77
    88This powerful property and reservation management plugin allows you to receive, schedule and handle your bookings easily!
Note: See TracChangeset for help on using the changeset viewer.