Make WordPress Core

Opened 6 weeks ago

Last modified 5 weeks ago

#49538 new enhancement

Can't get a subset of `_embedded` using `_fields`

Reported by: iandunn Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version: 5.3
Component: REST API Keywords: needs-patch needs-unit-tests
Focuses: performance Cc:


I'd expect to be able to limit which values get returned in embedded fields, the same way that I can with standard fields. e.g.,


That would make the response faster and smaller.

Attachments (1)

49538.diff (2.4 KB) - added by iandunn 6 weeks ago.

Download all attachments as: .zip

Change History (3)

#1 @TimothyBlynJacobs
6 weeks ago

  • Keywords needs-patch needs-unit-tests added
  • Milestone changed from Awaiting Review to 5.5
  • Version set to 5.3

Milestoning for consideration to continue our focus on performance.

6 weeks ago


This ticket was mentioned in Slack in #core-restapi by timothybjacobs. View the logs.

5 weeks ago

Note: See TracTickets for help on using tickets.