Plugin Directory

Changeset 1104099


Ignore:
Timestamp:
03/03/2015 12:45:25 PM (10 years ago)
Author:
codepeople
Message:

Uploaded version 1.1.7

Location:
cp-reservation-calendar
Files:
46 added
2 edited

Legend:

Unmodified
Added
Removed
  • cp-reservation-calendar/trunk/README.txt

    r1095949 r1104099  
    142142* Fixed issues related to the get_site_url when WP site not in the default folder
    143143
     144= 1.1.7 =
     145* Security updates (Thanks to Christian Mondragon Uriel Zarate)
     146* Update to the function that generates the IPN url.
     147* Fixed bug in email processing.
     148
    144149Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://wordpress.dwbooster.com/support
    145150
     
    148153Very Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://wordpress.dwbooster.com/support
    149154
    150 = 1.1.6 =
    151 * Compatible with the latest WP versions
    152 * Better interface and access to the plugin options
    153 * Minor bug fixes
    154 * Fixed issues related to the get_site_url when WP site not in the default folder
     155= 1.1.7 =
     156* Security updates (Thanks to Christian Mondragon Uriel Zarate)
     157* Update to the function that generates the IPN url.
     158* Fixed bug in email processing.
    155159
    156160
  • cp-reservation-calendar/trunk/dex_reservations.php

    r1102125 r1104099  
    44Plugin URI: http://wordpress.dwbooster.com/calendars/cp-reservation-calendar
    55Description: This plugin allows you to easily insert reservation forms into your WP website.
    6 Version: 1.1.6
     6Version: 1.1.7
    77Author: CodePeople.net
    88Author URI: http://codepeople.net
     
    408408
    409409    if (!defined('CP_CALENDAR_ID'))
    410         define ('CP_CALENDAR_ID',$_POST["dex_item"]);
     410        define ('CP_CALENDAR_ID',intval($_POST["dex_item"]));
    411411
    412412    session_start();
     
    421421    $_SESSION['rand_code'] = '';
    422422
    423     $selectedCalendar = $_POST["dex_item"];
     423    $selectedCalendar = intval($_POST["dex_item"]);
    424424
    425425    $_POST["dateAndTime_s"] =  $_POST["selYear_start".$selectedCalendar]."-".$_POST["selMonth_start".$selectedCalendar]."-".$_POST["selDay_start".$selectedCalendar];
     
    619619    global $wpdb;
    620620    if (!defined('CP_CALENDAR_ID'))
    621         define ('CP_CALENDAR_ID',$_POST["dex_item"]);
     621        define ('CP_CALENDAR_ID',intval($_POST["dex_item"]));
    622622
    623623    $data = array(
     
    671671        return;
    672672    @ob_clean();
     673    $_GET["id"] = intval($_GET["id"]);
    673674    header("Cache-Control: no-store, no-cache, must-revalidate");
    674675    header("Pragma: no-cache");
     
    776777    else
    777778    {
    778        $myrows = $wpdb->get_results( "SELECT * FROM ".DEX_RESERVATIONS_CONFIG_TABLE_NAME." WHERE id=".CP_CALENDAR_ID );
     779       $myrows = $wpdb->get_results( "SELECT * FROM ".DEX_RESERVATIONS_CONFIG_TABLE_NAME." WHERE id=".intval(CP_CALENDAR_ID) );
    779780       $value = $myrows[0]->$field;
    780781       $dex_option_buffered_item = $myrows[0];
Note: See TracChangeset for help on using the changeset viewer.