Even thought they are a post type, Guest Authors don't support titles, content or excerpts. They don't specifically need these fields, but WordPress requires them when creating a post.
CAP gets around this by filtering wp_insert_post_empty_content and using the Guest Author's name as the title.
This works in the post editor, but when you try to create a Guest Author through the API, the lack of support for titles means the provided title is not included in the WP_REST_Request and creating still fails.
It may be possible to add support for title and remove the title input in the post editor some other way.
Acceptance Criteria
[x] Guest Author posts can be created through WP REST API
[x] Guest Author posts can still be created through the WP post editor.
Background
Even thought they are a post type, Guest Authors don't support titles, content or excerpts. They don't specifically need these fields, but WordPress requires them when creating a post.
CAP gets around this by filtering
wp_insert_post_empty_content
and using the Guest Author's name as the title.This works in the post editor, but when you try to create a Guest Author through the API, the lack of support for titles means the provided title is not included in the
WP_REST_Request
and creating still fails.It may be possible to add support for
title
and remove the title input in the post editor some other way.Acceptance Criteria