Fix undefined variable $post when viewing comments of a post

Fixes the first issue described on GSoC #382: http://gsoc.trac.wordpress.org/ticket/382