[wp-trac] [WordPress Trac] #59552: Rest api not returns embedded data, if i use at least one field.

WordPress Trac noreply at wordpress.org
Thu Oct 5 19:41:32 UTC 2023


#59552: Rest api not returns embedded data,if i use at least one field.
-----------------------------+-----------------------------
 Reporter:  sashakozlovskiy  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Embeds           |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  rest-api         |
-----------------------------+-----------------------------
 Hello. after updating of wordpress,rest api not returns embedded data,if
 we use at least one field,so we downgraded wordpress,but created test
 subdomain,which contains latest wordpress. Please compare requests:
 https://опиши-мне.рф/wp-
 json/wp/v2/posts/5926/?_fields=content&_embed=author,wp:term
 and
 https://2019.опиши-мне.рф/wp-
 json/wp/v2/posts/5926/?_fields=content&_embed=author,wp:term

 in second case it returns only content field,but in first - content field
 and embedded data. Please help to us fix this issue. Thank you very much.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59552>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list