[wp-trac] [WordPress Trac] #51722: Allow embedded links in preloaded api request
WordPress Trac
noreply at wordpress.org
Fri Nov 6 19:35:47 UTC 2020
#51722: Allow embedded links in preloaded api request
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: REST API | Version: 5.0
Severity: normal | Resolution:
Keywords: needs-patch needs-testing good- | Focuses: rest-api
first-bug |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):
* keywords: needs-patch needs-testing => needs-patch needs-testing good-
first-bug
* milestone: Awaiting Review => Future Release
Comment:
This will require changing `rest_preload_api_request` to instead call
`$server->response_to_data()` instead of just calling
`$response->get_data()` directly. And pull `_embed` from `$query_params`
and apply `rest_parse_embed_param()` to it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51722#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list