Changeset 129736
- Timestamp:
- 06/26/2009 03:17:07 PM (16 years ago)
- Location:
- vote-it-up
- Files:
-
- 46 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vote-it-up/trunk/votingfunctions.php
r127318 r129736 214 214 215 215 //Saves the vote of a guest to the database. 216 function GuestVote($post_ID, $ user_ID, $type = 'vote') {216 function GuestVote($post_ID, $type = 'vote') { 217 217 global $wpdb, $voteiu_databasetable; 218 218 219 219 $result = false; 220 $user_ID = md5($_SERVER['REMOTE_ADDR']); 220 221 221 222 //Prevents SQL injection
Note: See TracChangeset
for help on using the changeset viewer.