[wp-trac] [WordPress Trac] #39759: Make $thumbnail_id filterable in embed-content.php
WordPress Trac
noreply at wordpress.org
Thu Jun 15 13:04:02 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 mariusvetrici):
I applied the patch to the latest WordPress build, but the "embed-
content.php" file doesn't get called if I embed a post in an iframe. So
I'm not able to test how this works.
Repro:
1. in the root of the WordPress, create a simple HTML file with an IFRAME
which includes an existing post. Let's say test.html
2. load http://src.wordpress-develop.dev/test.html -> it displays ok in
browser, but the embed-content.php file doesn't get called.
Expected behavior: embed-content.php should get called when the IFRAME is
loaded in a browser.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39759#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list