[wp-trac] [WordPress Trac] #43136: WP_oEmbed_Controller->get_item() returns a blockquote without the data-secret attribute

WordPress Trac noreply at wordpress.org
Tue Jan 23 19:07:35 UTC 2018


#43136: WP_oEmbed_Controller->get_item() returns a blockquote without the data-
secret attribute
--------------------------------------+------------------------------
 Reporter:  imath                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Embeds                    |     Version:  4.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------
Changes (by swissspidy):

 * version:  trunk => 4.4


Comment:

 For some history: this goes all the way back to
 https://github.com/swissspidy/oEmbed-API/pull/27.

 Shouldn't the `wp-embed.js` script add secrets if they're missing? If
 that's not working properly, I'd fix that in the JS.

 @pento Perhaps you remember this better than I do :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43136#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list