[wp-trac] [WordPress Trac] #40450: Introduce REST API endpoint for proxying requests to external oEmbed providers
WordPress Trac
noreply at wordpress.org
Wed Oct 18 17:39:48 UTC 2017
#40450: Introduce REST API endpoint for proxying requests to external oEmbed
providers
---------------------------------------------+-----------------------
Reporter: westonruter | Owner: jnylen0
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Embeds | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+-----------------------
Comment (by westonruter):
In [changeset:"41913"]:
{{{
#!CommitTicketReference repository="" revision="41913"
Widgets: Fix previewing embeds in Text widget by allowing `parse-embed`
admin ajax requests with an empty `post_ID` just as
`WP_oEmbed_Controller::get_proxy_item_permissions_check()` allows.
As of #34115 if there is no post context the oEmbed will be cached in an
`oembed_cache` custom post type, so having a post as context is no longer
a requirement for caching.
Props biskobe, westonruter.
See #34115, #40450.
Fixes #40854.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40450#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list