<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[35466] trunk: Embeds: Add fallbacks for IE7-9.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/35466">35466</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/35466","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>pento</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-10-31 04:37:41 +0000 (Sat, 31 Oct 2015)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Embeds: Add fallbacks for IE7-9.

Older IE versions need just that little bit of extra tender care to keep them going.

Props peterwilsoncc, swissspidy, pento.

Fixes <a href="https://core.trac.wordpress.org/ticket/34204">#34204</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkGruntfilejs">trunk/Gruntfile.js</a></li>
<li><a href="#trunksrcwpincludescsswpembedtemplatecss">trunk/src/wp-includes/css/wp-embed-template.css</a></li>
<li><a href="#trunksrcwpincludesdefaultfiltersphp">trunk/src/wp-includes/default-filters.php</a></li>
<li><a href="#trunksrcwpincludesembedfunctionsphp">trunk/src/wp-includes/embed-functions.php</a></li>
<li><a href="#trunksrcwpincludesembedtemplatephp">trunk/src/wp-includes/embed-template.php</a></li>
<li><a href="#trunksrcwpincludesjswpembedtemplatejs">trunk/src/wp-includes/js/wp-embed-template.js</a></li>
<li><a href="#trunksrcwpincludesjswpembedjs">trunk/src/wp-includes/js/wp-embed.js</a></li>
<li><a href="#trunksrcwpincludesscriptloaderphp">trunk/src/wp-includes/script-loader.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcwpincludescsswpembedtemplateiecss">trunk/src/wp-includes/css/wp-embed-template-ie.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkGruntfilejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/Gruntfile.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/Gruntfile.js        2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/Gruntfile.js  2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -233,7 +233,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        // Exceptions
</span><span class="cx" style="display: block; padding: 0 10px">                                        '!wp-includes/css/dashicons.css',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        '!wp-includes/css/wp-embed-template.css'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 '!wp-includes/css/wp-embed-template.css',
+                                       '!wp-includes/css/wp-embed-template-ie.css'
</ins><span class="cx" style="display: block; padding: 0 10px">                                 ]
</span><span class="cx" style="display: block; padding: 0 10px">                        },
</span><span class="cx" style="display: block; padding: 0 10px">                        colors: {
</span></span></pre></div>
<a id="trunksrcwpincludescsswpembedtemplateiecss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/css/wp-embed-template-ie.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/css/wp-embed-template-ie.css                                (rev 0)
+++ trunk/src/wp-includes/css/wp-embed-template-ie.css  2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.dashicons-no {
+       background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAQAAAAngNWGAAAAcElEQVR4AdXRVxmEMBAGwJMQCUhAIhKQECmRsFJwMFfp7HfP/E8pk0173CuKpt/0R+WaBaaZqogLagBMuh+DdoKbyRCwqZ/SnM0R5oQuZ2UHS8Z6k23qPxZCTrV5UlHMi8bsfHVXP7K/GXZHaTO7S54CWLdHlN2YIwAAAABJRU5ErkJggg==);
+}
+
+.dashicons-admin-comments {
+       background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATUlEQVR4AWMYWqCpvUcAiA8A8X9iMFStAD4DG0AKScQNVDZw1MBRAwvIMLCA5jmFlCD4AMQGlOTtBgoNwzQQ3TCKDaTcMMxYN2AYVgAAYPKsEBxN0PIAAAAASUVORK5CYII=);
+}
+
+.wp-embed-comments a:hover .dashicons-admin-comments {
+       background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATElEQVR4AWMYYqB4lQAQHwDi/8RgqFoBfAY2gBSSiBuobOCogaMGFpBhYAEdcwrhIPgAxAaU5O0GCg3DNBDdMIoNpNwwzFg3YBhWAABG71qAFYcFqgAAAABJRU5ErkJggg==);
+}
+
+.dashicons-share {
+       background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYfqCpvccAiBcA8X8gfgDEBZQaeAFkGBoOoMR1/7HgDeQa2ECZgQiDHID4AMwAor0MCmBoQP+HBnwAskFQdgBRkQJViGk7wiAHUr21AYdhDTA1dDOQHl6mPFLokmwoT9j0z3qUFw70L77oDwAiuzCIub1XpQAAAABJRU5ErkJggg==);
+}
+
+.wp-embed-share-dialog-open:hover .dashicons-share {
+       background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYhqB4lQEQLwDi/0D8AIgLKDXwAsgwNBxAiev+Y8EbyDWwgTIDEQY5APEBmAFEexkUwNCA/g8N+ABkg6DsAKIiBaoQ03aEQQ6kemsDDsMaYEroZiA9vEx5pNAl2VCesOmf9SgvHOhffNEfAAAMqPR5IEZH5wAAAABJRU5ErkJggg==);
+}
</ins></span></pre></div>
<a id="trunksrcwpincludescsswpembedtemplatecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/css/wp-embed-template.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/css/wp-embed-template.css   2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/css/wp-embed-template.css     2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -46,14 +46,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> .dashicons-share {
</span><span class="cx" style="display: block; padding: 0 10px">        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%2382878c%27%2F%3E%3C%2Fsvg%3E");
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        display: none;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.js .dashicons-share {
+       display: inline-block;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .wp-embed-share-dialog-open:hover .dashicons-share {
</span><span class="cx" style="display: block; padding: 0 10px">        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%230073aa%27%2F%3E%3C%2Fsvg%3E");
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-embed {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        width: 100%;
</del><span class="cx" style="display: block; padding: 0 10px">         padding: 25px;
</span><span class="cx" style="display: block; padding: 0 10px">        font: 400 14px/1.5 'Open Sans', sans-serif;
</span><span class="cx" style="display: block; padding: 0 10px">        color: #82878c;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,9 +65,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">        border: 1px solid #e5e5e5;
</span><span class="cx" style="display: block; padding: 0 10px">        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
</span><span class="cx" style="display: block; padding: 0 10px">        box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        -webkit-box-sizing: border-box;
-       -moz-box-sizing: border-box;
-       box-sizing: border-box;
</del><span class="cx" style="display: block; padding: 0 10px">         /* Clearfix */
</span><span class="cx" style="display: block; padding: 0 10px">        overflow: auto;
</span><span class="cx" style="display: block; padding: 0 10px">        zoom: 1;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -178,6 +179,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        left: 0;
</span><span class="cx" style="display: block; padding: 0 10px">        right: 0;
</span><span class="cx" style="display: block; padding: 0 10px">        bottom: 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        background-color: #222;
</ins><span class="cx" style="display: block; padding: 0 10px">         background-color: rgba(10, 10, 10, 0.9);
</span><span class="cx" style="display: block; padding: 0 10px">        color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px">        opacity: 1;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -254,7 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-embed-share-tab-button {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        display: inline;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ display: inline-block;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-embed-share-tab-button button {
</span></span></pre></div>
<a id="trunksrcwpincludesdefaultfiltersphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/default-filters.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/default-filters.php 2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/default-filters.php   2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -447,8 +447,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_head',                'wp_oembed_add_discovery_links'         );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_head',                'wp_oembed_add_host_js'                 );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'embed_head',             'enqueue_embed_scripts',           1    );
</ins><span class="cx" style="display: block; padding: 0 10px"> add_action( 'embed_head',             'print_emoji_detection_script'          );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-add_action( 'embed_head',             'print_emoji_styles'                    );
</del><span class="cx" style="display: block; padding: 0 10px"> add_action( 'embed_head',             'print_embed_styles'                    );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'embed_head',             'wp_print_head_scripts',          20    );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'embed_head',             'wp_print_styles',                20    );
</span></span></pre></div>
<a id="trunksrcwpincludesembedfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/embed-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/embed-functions.php 2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/embed-functions.php   2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -372,7 +372,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">        wp_enqueue_script( 'wp-embed' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * Retrieves the URL to embed a specific post in an iframe.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -864,6 +863,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Enqueue embed iframe default CSS and JS & fire do_action('enqueue_embed_scripts')
+ *
+ * Enqueue PNG fallback CSS for embed iframe for legacy versions of IE.
+ *
+ * Allows plugins to queue scripts for the embed iframe end using wp_enqueue_script().
+ * Runs first in oembed_head().
+ *
+ * @since 4.4.0
+ */
+function enqueue_embed_scripts() {
+       wp_enqueue_style( 'open-sans' );
+       wp_enqueue_style( 'wp-embed-template-ie' );
+
+       /**
+        * Fires when scripts and styles are enqueued for the embed iframe.
+        *
+        * @since 4.4.0
+        */
+       do_action( 'enqueue_embed_scripts' );
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px">  * Prints the CSS in the embed iframe header.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 4.4.0
</span></span></pre></div>
<a id="trunksrcwpincludesembedtemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/embed-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/embed-template.php  2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/embed-template.php    2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,11 +14,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">        header( 'X-WP-embed: true' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-wp_enqueue_style( 'open-sans' );
-
</del><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <!DOCTYPE html>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<html <?php language_attributes(); ?>>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<html <?php language_attributes(); ?> class="no-js">
</ins><span class="cx" style="display: block; padding: 0 10px"> <head>
</span><span class="cx" style="display: block; padding: 0 10px">        <title><?php echo wp_get_document_title(); ?></title>
</span><span class="cx" style="display: block; padding: 0 10px">        <meta http-equiv="X-UA-Compatible" content="IE=edge">
</span></span></pre></div>
<a id="trunksrcwpincludesjswpembedtemplatejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-embed-template.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-embed-template.js     2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/js/wp-embed-template.js       2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,6 +2,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">        'use strict';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        var secret = window.location.hash.replace( /.*secret=([\d\w]{10}).*/, '$1' ),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                supportedBrowser = ( document.querySelector && window.addEventListener ),
+               loaded = false,
</ins><span class="cx" style="display: block; padding: 0 10px">                 resizing;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        function sendEmbedMessage( message, value ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,6 +15,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        function onLoad() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                if ( loaded ) {
+                       return;
+               }
+               loaded = true;
+
</ins><span class="cx" style="display: block; padding: 0 10px">                 var share_dialog = document.querySelector( '.wp-embed-share-dialog' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        share_dialog_open = document.querySelector( '.wp-embed-share-dialog-open' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        share_dialog_close = document.querySelector( '.wp-embed-share-dialog-close' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -141,8 +148,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        document.addEventListener( 'DOMContentLoaded', onLoad, false );
-
</del><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Iframe resize handler.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -158,5 +163,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }, 100 );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        window.addEventListener( 'resize', onResize, false );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( supportedBrowser ) {
+               document.documentElement.className = document.documentElement.className.replace( /\bno-js\b/, '' ) + ' js';
+               document.addEventListener( 'DOMContentLoaded', onLoad, false );
+               window.addEventListener( 'load', onLoad, false );
+               window.addEventListener( 'resize', onResize, false );
+       }
</ins><span class="cx" style="display: block; padding: 0 10px"> })( window, document );
</span></span></pre></div>
<a id="trunksrcwpincludesjswpembedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/js/wp-embed.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/wp-embed.js      2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/js/wp-embed.js        2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> (function ( window, document ) {
</span><span class="cx" style="display: block; padding: 0 10px">        'use strict';
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        var supportedBrowser = ( document.querySelector && window.addEventListener ),
+               loaded = false;
+
</ins><span class="cx" style="display: block; padding: 0 10px">         window.wp = window.wp || {};
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( !! window.wp.receiveEmbedMessage ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,9 +57,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        };
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        window.addEventListener( 'message', window.wp.receiveEmbedMessage, false );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ function onLoad() {
+               if ( loaded ) {
+                       return;
+               }
+               loaded = true;
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        function onLoad() {
</del><span class="cx" style="display: block; padding: 0 10px">                 var isIE10 = -1 !== navigator.appVersion.indexOf( 'MSIE 10' ),
</span><span class="cx" style="display: block; padding: 0 10px">                        isIE11 = !!navigator.userAgent.match( /Trident.*rv\:11\./ ),
</span><span class="cx" style="display: block; padding: 0 10px">                        iframes, iframeClone, i;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -68,11 +74,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        for ( i = 0; i < iframes.length; i++ ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                iframeClone = iframes[ i ].cloneNode( true );
</span><span class="cx" style="display: block; padding: 0 10px">                                iframeClone.removeAttribute( 'security' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                iframes[ i ].parentNode.insertBefore( iframeClone, iframes[ i ].nextSibling );
-                               iframes[ i ].parentNode.removeChild( iframes[ i ] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         iframes[ i ].parentNode.replaceChild( iframeClone, iframes[ i ] );
</ins><span class="cx" style="display: block; padding: 0 10px">                         }
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        document.addEventListener( 'DOMContentLoaded', onLoad, false );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( supportedBrowser ) {
+               window.addEventListener( 'message', window.wp.receiveEmbedMessage, false );
+               document.addEventListener( 'DOMContentLoaded', onLoad, false );
+               window.addEventListener( 'load', onLoad, false );
+       }
</ins><span class="cx" style="display: block; padding: 0 10px"> })( window, document );
</span></span></pre></div>
<a id="trunksrcwpincludesscriptloaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/script-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/script-loader.php   2015-10-30 23:35:14 UTC (rev 35465)
+++ trunk/src/wp-includes/script-loader.php     2015-10-31 04:37:41 UTC (rev 35466)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -727,12 +727,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $styles->add( 'open-sans', $open_sans_font_url );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // Includes CSS
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $styles->add( 'admin-bar',         "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) );
-       $styles->add( 'wp-auth-check',     "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) );
-       $styles->add( 'editor-buttons',    "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) );
-       $styles->add( 'media-views',       "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons', 'wp-mediaelement' ) );
-       $styles->add( 'wp-pointer',        "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) );
-       $styles->add( 'customize-preview', "/wp-includes/css/customize-preview$suffix.css" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $styles->add( 'admin-bar',            "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) );
+       $styles->add( 'wp-auth-check',        "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) );
+       $styles->add( 'editor-buttons',       "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) );
+       $styles->add( 'media-views',          "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons', 'wp-mediaelement' ) );
+       $styles->add( 'wp-pointer',           "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) );
+       $styles->add( 'customize-preview',    "/wp-includes/css/customize-preview$suffix.css" );
+       $styles->add( 'wp-embed-template-ie', "/wp-includes/css/wp-embed-template-ie$suffix.css" );
+       $styles->add_data( 'wp-embed-template-ie', 'conditional', 'lte IE 8' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        // External libraries and friends
</span><span class="cx" style="display: block; padding: 0 10px">        $styles->add( 'imgareaselect',       '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' );
</span></span></pre>
</div>
</div>

</body>
</html>