🔞 ADULT: Changeset/ - High Quality

Changeset 566874


Ignore:
Timestamp:
07/03/2012 12:18:12 PM (13 years ago)
Author:
DaganLev
Message:

version 1.0.4 fixed some issues with the $_POST vars

Location:
hotscot-events
Files:
37 added
2 edited

Legend:

Unmodified
Added
Removed
  • hotscot-events/trunk/hotscot-events.php

    r536674 r566874  
    33Plugin Name: Hotscot Events
    44Description: Allows users to create and display events.
    5 Version: 1.0.3
     5Version: 1.0.4
    66Author: Hotscot
    77
     
    291291    if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id;
    292292
    293     $startDate = $_POST['Start_date']
     293    $startDate = isset($_POST['Start_date']) ? $_POST['Start_date'] : ''
    294294    if(preg_match("/\d{2}\/\d{2}\/\d{4}/", $startDate)){
    295295        $startDate = ht_event_date_to_mysql($startDate);
     
    299299   
    300300
    301     $endDate = $_POST['End_date']
     301    $endDate = isset($_POST['End_date']) ? $_POST['End_date'] : ''
    302302    if(preg_match("/\d{2}\/\d{2}\/\d{4}/", $endDate)){
    303303        $endDate = ht_event_date_to_mysql($endDate);
  • hotscot-events/trunk/readme.txt

    r536674 r566874  
    55Requires at least: 3.1
    66Tested up to: 3.3
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88
    99Simple events module...
     
    26261.0.2 - Custom Filter on admin page
    27271.0.3 - sorted some issues
     281.0.4 - fixed some warnings
    2829 
    2930== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.