Description of the bug
If you query the REST API for posts and include the featured image from the Global Mediathek with ?_embed=wp:featuredmedia e.g. https://my-wordpress.test/wp-json/wp/v2/posts?_embed=wp:featuredmedia the featured image outputs the site logo and not the image:

Reproduction instructions
- Create a Post and use a featured image from the Global Mediathek
- Query the REST API with
?_embed=wp:featuredmedia e.g. https://my-wordpress.test/wp-json/wp/v2/posts?_embed=wp:featuredmedia
- See the site logo under
_embedded->wp:featuredmedia[0]
Expected behavior
Should output the featured image correcly
Environment info
No response
Relevant log output
No response
Additional context
No response
Code of Conduct
Description of the bug
If you query the REST API for posts and include the featured image from the Global Mediathek with
?_embed=wp:featuredmediae.g.https://my-wordpress.test/wp-json/wp/v2/posts?_embed=wp:featuredmediathe featured image outputs the site logo and not the image:Reproduction instructions
?_embed=wp:featuredmediae.g.https://my-wordpress.test/wp-json/wp/v2/posts?_embed=wp:featuredmedia_embedded->wp:featuredmedia[0]Expected behavior
Should output the featured image correcly
Environment info
No response
Relevant log output
No response
Additional context
No response
Code of Conduct