Closed goaround closed 4 years ago
I just discoverd the bug. There is a $this->siteSwitcher->restoreBlog();
missing. I submitted a pull request: https://github.com/bueltge/multisite-global-media/pull/110
Thanks for the issue, description and the pull request #110 for fixing this topic.
Hi,
First of all Multisite Global Media works with the REST API and ?_embed (https://developer.wordpress.org/rest-api/using-the-rest-api/global-parameters/#_embed), which includes the featured image in the response.
But the problem I run in is that after a post with a featured image from the global media, no other post contains a _embedded featured image any more.
Steps reproduce:
/wp-json/wp/v2/posts?_embed
. The_embedded
object is completely missing at the 2. post