[wp-trac] [WordPress Trac] #54015: Unable to pass _embed param to enveloped REST API requests
WordPress Trac
noreply at wordpress.org
Fri Apr 8 17:27:56 UTC 2022
#54015: Unable to pass _embed param to enveloped REST API requests
--------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.0
Component: REST API | Version: 5.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53110" 53110]:
{{{
#!CommitTicketReference repository="" revision="53110"
REST API: Use `rest_parse_embed_param` function in `WP_REST_Server`
class.
Ensure that the value get parameter `_embed ` that is passed to the
`envelope_response` method, is run through the `rest_parse_embed_param`
function.
Props Spacedmonkey, johnbillion, TimothyBlynJacobs.
Fixes #54015.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54015#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list