[wp-trac] [WordPress Trac] #39759: Make $thumbnail_id filterable in embed-content.php

WordPress Trac noreply at wordpress.org
Thu Jun 15 14:59:14 UTC 2017


#39759: Make $thumbnail_id filterable in embed-content.php
-------------------------------------------------+-------------------------
 Reporter:  Ov3rfly                              |       Owner:  ketuchetan
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8.1
Component:  Embeds                               |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch good-first-bug needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 @mariusvetrici That's not exactly how it works. `embed-content.php` is
 used for oEmbed, i.e. when you paste the URL to a post on a single line,
 or when you manually include the embed code for a post. (check the REST
 API or `get_post_embed_html()`). The embed code is an iframe, but the URL
 for a post looks like example.com/my-post/embed/ instead of example.com
 /my-post/.

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


More information about the wp-trac mailing list