[wp-trac] [WordPress Trac] #34451: Embeds not working for non-WP sites
WordPress Trac
noreply at wordpress.org
Fri Oct 30 12:10:50 UTC 2015
#34451: Embeds not working for non-WP sites
----------------------------------------------------+--------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Embeds | Version: trunk
Severity: major | Resolution:
Keywords: has-patch has-unit-tests needs-testing | Focuses:
----------------------------------------------------+--------------------
Comment (by swissspidy):
[attachment:34451.3.diff] is an updated patch as per [comment:5 the above
comment]. Slightly changed the JS in `wp-embed.js` to correctly remove the
security attribute when in Internet Explorer. Tested with IE10+.
To clarify my "The editor preview seems to be broken" note from above:
It's because of the need for `window.addEventListener( 'load', onLoad,
false );` as well as `document.addEventListener( 'DOMContentLoaded',
onLoad, false );`, which that ticket addresses.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34451#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list