lesterchan/wp-postratings — pull request #33 by krivinarius (2014-10-18 19:46:58+00:00)
Title: get_comment_authors_ratings fix when global variable post is not set

I had a problem when I used template_redirect hook and was getting to the loop without global $post being set.
I got a notice about that. This is the way I suggest to fix it since this function is called on loop_start.