• hi!
    in the file wpv_voting.php the function wpv_voting_get_display_vote() gets $postID as an argument. Unfortunately, the function’s code doesn’t use this id. It rather uses wordpress loop functions as get_the_id() or get_the_author_meta(). In my case, those functions don’t return the correct value. I had to replace all the occurrences of get_the_id() by $postID and get_the_author_meta() by

    $the_post = get_post($postID);
    		$author_ID = $the_post->post_author;

    http://wordpress.org/extend/plugins/wp-voting/

The topic ‘Bug : bad POST_ID’ is closed to new replies.