Plugin Directory

Changeset 129736


Ignore:
Timestamp:
06/26/2009 03:17:07 PM (16 years ago)
Author:
multippt
Message:

Added 1.2.1 (emergency bug fix)

Location:
vote-it-up
Files:
46 added
1 edited

Legend:

Unmodified
Added
Removed
  • vote-it-up/trunk/votingfunctions.php

    r127318 r129736  
    214214
    215215//Saves the vote of a guest to the database.
    216 function GuestVote($post_ID, $user_ID, $type = 'vote') {
     216function GuestVote($post_ID, $type = 'vote') {
    217217    global $wpdb, $voteiu_databasetable;
    218218
    219219    $result = false;
     220    $user_ID = md5($_SERVER['REMOTE_ADDR']);
    220221
    221222    //Prevents SQL injection
Note: See TracChangeset for help on using the changeset viewer.