[wp-trac] [WordPress Trac] #41692: REST API does not return featured_media for Audio/Video
WordPress Trac
noreply at wordpress.org
Mon Feb 12 22:16:02 UTC 2024
#41692: REST API does not return featured_media for Audio/Video
-------------------------------------------------+-------------------------
Reporter: wonderboymusic | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: Future
| Release
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests changes- | Focuses:
requested |
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* owner: (none) => swissspidy
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"57603" 57603]:
{{{
#!CommitTicketReference repository="" revision="57603"
REST API: Add `featured_media` field to attachments endpoint.
Audio and video attachments can have a featured image, also known as a
poster image. This functionality is now properly exposed by the
`wp/v2/media` endpoint.
Props swissspidy, timothyblynjacobs, wonderboymusic, dlh, spacedmonkey.
Fixes #41692.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41692#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list