Added a call to get_post_statuses.