[wp-trac] [WordPress Trac] #45142: Filter HTML response in oEmbed proxy controller

WordPress Trac noreply at wordpress.org
Tue Oct 23 17:47:31 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 dev-feedback has-unit-     |     Focuses:  rest-api
  tests                                          |
Changes (by danielbachhuber):

 * owner:  (none) => danielbachhuber
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"43810" 43810]:
 #!CommitTicketReference repository="" revision="43810"
 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.

 Props danielbachhuber, imath, swissspidy.
 Fixes #45142.

Ticket URL: <https://core.trac.wordpress.org/ticket/45142#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list