[wp-trac] [WordPress Trac] #34489: WP oEmbed: The embed-template 404 condition isn't getting triggered for 404'd embeds
WordPress Trac
noreply at wordpress.org
Thu Oct 29 19:33:54 UTC 2015
#34489: WP oEmbed: The embed-template 404 condition isn't getting triggered for
404'd embeds
--------------------------+-----------------------------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Embeds | Version:
Severity: normal | Keywords: needs-patch has-screenshots
Focuses: |
--------------------------+-----------------------------------------
When a post has been embedded and the permalinks have since been changed,
an iframe with the 404 template for the embed site is displayed instead of
triggering the 404 condition in embed-template.php.
Steps to reproduce:
1. Create a post.
2. Create a second post, embedding the first post.
3. Change the site's permastruct to something else
4. View the second post.
Expected: The 404 markup from embed-template.php
Actual: The general 404 markup for the the embed source site theme in an
iframe.
Example post: http://wcpdx.trywpbeta.com/2015/10/testing-oembedding-of-
posts/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34489>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list