[wp-trac] [WordPress Trac] #39696: REST API: Filter which links get embedded when passing the ?_embed query parameter
WordPress Trac
noreply at wordpress.org
Sun Feb 9 20:52:19 UTC 2020
#39696: REST API: Filter which links get embedded when passing the ?_embed query
parameter
-------------------------------------------------+-------------------------
Reporter: rheinardkorf | Owner:
| TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.4
Component: REST API | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses: rest-api
feedback |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47224" 47224]:
{{{
#!CommitTicketReference repository="" revision="47224"
REST API: Introduce selective link embedding.
Previously the _embed flag would embed all embeddable links in a response
even if only a subset of the links were necessary. Now, a list of link
relations can be passed in the _embed parameter to restrict the list of
embedded objects.
Props rheinardkorf, adamsilverstein, jnylen0, cklosows, chrisvanpatten,
TimothyBlynJacobs.
Fixes #39696.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39696#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list