Skip to content
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

Wrong SurrogateKeys for Rest API w/ _embed #102

Closed
rubas opened this issue Oct 25, 2017 · 1 comment
Closed

Wrong SurrogateKeys for Rest API w/ _embed #102

rubas opened this issue Oct 25, 2017 · 1 comment
Labels
Milestone

Comments

@rubas
Copy link
Contributor

rubas commented Oct 25, 2017

Using the rest api with the _embed parameter messes up the surrogate keys.

/wp-json/wp/v2/posts => rest-post-collection rest-post-$id
/wp-json/wp/v2/posts?_embed => rest-type_category-collection rest-term-xxx

WP: 4.8.2

@danielbachhuber
Copy link
Contributor

Thanks for the report, @rubas. I've tagged v0.2.1 with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants