Improved api_get_author_posts a bit