Bugfix in WP-Plugin "Vote It Up": Multiple voting for guests
Abgelaufen

Bugfix in WP-Plugin "Vote It Up": Multiple voting for guests

Anonym61
eingestellt am 25. Mai 2009

Download "Vote It Up V1.1.1 modified"Bug description: If you select the option to let guests vote, there is an bug that allows users to vote multiple times. If you click "vote" once, there's  no problem. But if you click "vote" rapidly and repeatedly, it will count every click until it changes to a "voted" state - thus allowing one user to vote multiple times.

Bug located in Version "1.1.1", fixed in Version "1.1.1 modified".

Bugfix: Just replaced following code in votingfunctions.php - function GuestVote(): //Check if user voted if (!UserVoted($post_ID,$user_ID)) { with: //Check if user voted if (!UserVoted($p_ID,$u_ID)) { Also done in function Vote() because of a security hole: //Check if user voted if (!UserVoted($post_ID,$user_ID)) { replaced with: //Check if user voted if (!UserVoted($p_ID,$u_ID)) { Download "Vote It Up V1.1.1 modified"

1 Kommentar
Avatar

thanks for the fix!
Dein Kommentar
Avatar
@
    Text