removed redundant call to get_post(). #1138