Added support for post types that support 'author'.