[wp-trac] [WordPress Trac] #45142: Filter HTML response in oEmbed proxy controller
WordPress Trac
noreply at wordpress.org
Fri Dec 14 03:19:53 UTC 2018
#45142: Filter HTML response in oEmbed proxy controller
------------------------------------------------+--------------------------
Reporter: swissspidy | Owner:
| danielbachhuber
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: Embeds | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed-5.0 | Focuses: rest-api
------------------------------------------------+--------------------------
Changes (by pento):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"44154" 44154]:
{{{
#!CommitTicketReference repository="" revision="44154"
Embeds: Filter HTML response in oEmbed proxy controller.
Adapts the response from `WP_oEmbed_Controller::get_proxy_item()` so that
the response is correctly filtered and embeds work properly in JavaSccript
editors. Introduces new `get_oembed_response_data_for_url()` function for
preparing internal oEmbed responses.
Merges [43810] from the 5.0 branch to trunk.
Props danielbachhuber, imath, swissspidy.
Fixes #45142.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45142#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list