[wp-trac] [WordPress Trac] #54015: Unable to pass _embed param to enveloped REST API requests
WordPress Trac
noreply at wordpress.org
Mon Nov 1 15:54:01 UTC 2021
#54015: Unable to pass _embed param to enveloped REST API requests
----------------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: REST API | Version: 5.4
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: rest-api
----------------------------------------+-----------------------------
Comment (by TimothyBlynJacobs):
I think we should be able to use `expectOutputString` and call
`serve_request` after setting `$_GET['embed']` to the value we want to
test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54015#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list