Wrong SurrogateKeys for Rest API w/ _embed
rubas opened this issue · 1 comments
rubas commented
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 commented
Thanks for the report, @rubas. I've tagged v0.2.1 with a fix.