-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working with WP REST API V2 #5
Comments
Hi @redprogrammer, |
Hi @airesvsg |
Hi @redprogrammer, Steps of my test: Thanks
|
can you check the one post child _embeded and wp:featuremedia child?? data[0]._embedded['wp:featuredmedia'][0].source_url normally take me the media url of the data but after install the plugin the content changes? Can you compare the responses with activating/deactivatng the plugin please?? Thanks |
Ok, I'll check. |
http://example.com/wp-json/wp/v2/posts?_embed this should be your refference link. deactivate the plugin and take the response of the query save it, and activate the plugin again take the response of the query. then compare them. In the posts array, there must be a _embeded child in each post, in the _embeded child there must be wp:featuredmedia child. compare them please. When the plugin active there is recursion. Best Regards |
Plugin not working on WP REST API V2 posts query with parameter _embed.
for example: http://example.com/wp-json/wp/v2/posts?_embed
The text was updated successfully, but these errors were encountered: