<!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>[39414] branches/4.7: Twenty Seventeen: Better handling of custom headers when no image is set.</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/39414">39414</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/39414","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>joemcgill</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2016-12-02 05:19:44 +0000 (Fri, 02 Dec 2016)</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'>Twenty Seventeen: Better handling of custom headers when no image is set.
This ensures that a standard header is shown on the front page whenever
a header video is set without a header image if the video doesn't load,
e.g., on mobile sizes or if the JS doesn't fire.
This adds a new class, `.has-header-video` that is added whenever the
`wp-custom-header-video-loaded` event is fired, which is then used to style
the custom headers along with `.has-header-image` whenever a header image
is available. This also changes the class name on the custom header media
wrapping `div` from `.custom-header-image` to `.custom-header-media`.
Props laurelfulford, joemcgill.
Fixes <a href="https://core.trac.wordpress.org/ticket/38995">#38995</a> for 4.7.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branches47srcwpcontentthemestwentyseventeenassetscssie8css">branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie8.css</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeenassetscssie9css">branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie9.css</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeenassetsjscustomizepreviewjs">branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeenassetsjsglobaljs">branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/global.js</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeeninccolorpatternsphp">branches/4.7/src/wp-content/themes/twentyseventeen/inc/color-patterns.php</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeeninctemplatefunctionsphp">branches/4.7/src/wp-content/themes/twentyseventeen/inc/template-functions.php</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeenstylecss">branches/4.7/src/wp-content/themes/twentyseventeen/style.css</a></li>
<li><a href="#branches47srcwpcontentthemestwentyseventeentemplatepartsheaderheaderimagephp">branches/4.7/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php</a></li>
</ul>
<h3>Property Changed</h3>
<ul>
<li><a href="#branches47">branches/4.7/</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<span class="cx" style="display: block; padding: 0 10px">Index: branches/4.7
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- branches/4.7 2016-12-02 05:11:56 UTC (rev 39413)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ branches/4.7 2016-12-02 05:19:44 UTC (rev 39414)
</ins><a id="branches47"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: branches/4.7</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmergeinfo"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: svn:mergeinfo</h4></div>
<span class="cx" style="display: block; padding: 0 10px"> /branches/3.1:18031
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/3.3:20543
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/3.4:21757
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/trunk:18512,39365,39369,39371,39373,39375-39376,39378,39380,39382,39384,39386,39388,39390,39392-39393,39396-39397,39400,39402,39404,39406,39409,39411
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/trunk:18512,39365,39369,39371,39373,39375-39376,39378,39380,39382,39384,39386,39388,39390,39392-39393,39396-39397,39400,39402,39404,39406,39409,39411,39413
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches47srcwpcontentthemestwentyseventeenassetscssie8css"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie8.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie8.css 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie8.css 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,7 +65,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> display: block;
</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">-.custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-position: bottom center;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,8 +84,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 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">-.has-header-image .custom-header-image img,
-.has-header-image .custom-header-image video {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-image .custom-header-media img {
</ins><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> top: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -142,8 +141,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding-top: 0;
</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">-.twentyseventeen-front-page .custom-header-image,
-.blog.home .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.twentyseventeen-front-page .custom-header-media,
+.blog.home .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-position: center center;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeenassetscssie9css"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie9.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie9.css 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/assets/css/ie9.css 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,22 +4,26 @@
</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"> .has-header-image.twentyseventeen-front-page .custom-header,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.has-header-image.home.blog .custom-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-video.twentyseventeen-front-page .custom-header,
+.has-header-image.home.blog .custom-header,
+.has-header-video.home.blog .custom-header {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 300px;
</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">-.has-header-image .custom-header-image img,
-.has-header-image .custom-header-image video,
-.has-header-image .custom-header-image iframe {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-image .custom-header-media img,
+.has-header-video .custom-header-media video,
+.has-header-video .custom-header-media iframe {
</ins><span class="cx" style="display: block; padding: 0 10px"> min-width: 100%;
</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"> @media screen and (min-width: 30em) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .has-header-image.twentyseventeen-front-page .custom-header,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.twentyseventeen-front-page .custom-header,
</ins><span class="cx" style="display: block; padding: 0 10px"> .has-header-image.home.blog .custom-header,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .twentyseventeen-front-page.has-header-image .custom-header-image,
- .home.blog.has-header-image .custom-header-image,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.home.blog .custom-header,
+ .twentyseventeen-front-page.has-header-image .custom-header-media,
+ .home.blog.has-header-image .custom-header-media,
</ins><span class="cx" style="display: block; padding: 0 10px"> .panel-image {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 700px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,9 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (min-width: 48em) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .has-header-image.twentyseventeen-front-page .custom-header,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.twentyseventeen-front-page .custom-header,
</ins><span class="cx" style="display: block; padding: 0 10px"> .has-header-image.home.blog .custom-header,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .twentyseventeen-front-page.has-header-image .custom-header-image,
- .home.blog.has-header-image .custom-header-image,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.home.blog .custom-header,
+ .twentyseventeen-front-page.has-header-image .custom-header-media,
+ .home.blog.has-header-image .custom-header-media,
</ins><span class="cx" style="display: block; padding: 0 10px"> .panel-image {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 1000px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeenassetsjscustomizepreviewjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/customize-preview.js 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -123,11 +123,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.each( [ 'external_header_video', 'header_image', 'header_video' ], function( index, settingId ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp.customize( settingId, function( setting ) {
</span><span class="cx" style="display: block; padding: 0 10px"> setting.bind(function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( hasHeaderImage() || ( hasHeaderVideo() && $( 'body' ).hasClass( 'twentyseventeen-front-page' ) ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( hasHeaderImage() ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $( document.body ).addClass( 'has-header-image' );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $( document.body ).removeClass( 'has-header-image' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ if ( ! hasHeaderVideo() ) {
+ $( document.body ).removeClass( 'has-header-video' );
+ }
</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></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeenassetsjsglobaljs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/global.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/global.js 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/assets/js/global.js 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Variables and DOM Caching.
</span><span class="cx" style="display: block; padding: 0 10px"> var $body = $( 'body' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $customHeader = $body.find( '.custom-header' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $customHeaderImage = $customHeader.find( '.custom-header-image' ),
</del><span class="cx" style="display: block; padding: 0 10px"> $branding = $customHeader.find( '.site-branding' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $navigation = $body.find( '.navigation-top' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $navWrap = $navigation.find( '.wrap' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,8 +63,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Make sure the nav isn't taller than two rows.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( navIsNotTooTall ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // When there's a custom header image, the header offset includes the height of the navigation.
- if ( isFrontPage && $customHeaderImage.length ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // When there's a custom header image or video, the header offset includes the height of the navigation.
+ if ( isFrontPage && ( $body.hasClass( 'has-header-image' ) || $body.hasClass( 'has-header-video' ) ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> headerOffset = $customHeader.innerHeight() - navigationOuterHeight;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> headerOffset = $customHeader.innerHeight();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -242,4 +241,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> setTimeout( adjustHeaderHeight, 1000 );
</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">+ // Add header video class after the video is loaded.
+ $( document ).on( 'wp-custom-header-video-loaded', function() {
+ $body.addClass( 'has-header-video' );
+ });
+
</ins><span class="cx" style="display: block; padding: 0 10px"> })( jQuery );
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeeninccolorpatternsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/inc/color-patterns.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/inc/color-patterns.php 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/inc/color-patterns.php 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -443,8 +443,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .next.page-numbers:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .next.page-numbers:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.has-header-image .site-title,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.colors-custom.has-header-video .site-title,
</ins><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.has-header-image .site-title a,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.colors-custom.has-header-image .site-description {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.colors-custom.has-header-video .site-title a,
+.colors-custom.has-header-image .site-description,
+.colors-custom.has-header-video .site-description {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeeninctemplatefunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/inc/template-functions.php 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/inc/template-functions.php 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,7 +35,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"> // Add a class if there is a custom header.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( has_header_image() || has_header_video() && is_front_page() ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( has_header_image() ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $classes[] = 'has-header-image';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeenstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/style.css 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/style.css 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1581,7 +1581,9 @@
</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"> body.has-header-image .site-title,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.has-header-image .site-title a {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+body.has-header-video .site-title,
+body.has-header-image .site-title a,
+body.has-header-video .site-title a {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1592,7 +1594,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 0;
</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">-body.has-header-image .site-description {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+body.has-header-image .site-description,
+body.has-header-video .site-description {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> opacity: 0.8;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1610,7 +1613,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: auto;
</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">-body.home.title-tagline-hidden.has-header-image .custom-logo-link img {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
+body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
</ins><span class="cx" style="display: block; padding: 0 10px"> max-height: 200px;
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1630,14 +1634,16 @@
</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"> .has-header-image.twentyseventeen-front-page .custom-header,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.has-header-image.home.blog .custom-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-video.twentyseventeen-front-page .custom-header,
+.has-header-image.home.blog .custom-header,
+.has-header-video.home.blog .custom-header {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: table;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 300px;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 75vh;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 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">-.custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: hidden;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1647,7 +1653,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 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">-.custom-header-image:before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.custom-header-media:before {
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
</span><span class="cx" style="display: block; padding: 0 10px"> background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* FF3.6-15 */
</span><span class="cx" style="display: block; padding: 0 10px"> background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1663,9 +1669,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 2;
</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">-.has-header-image .custom-header-image img,
-.has-header-image .custom-header-image video,
-.has-header-image .custom-header-image iframe {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-image .custom-header-media img,
+.has-header-video .custom-header-media video,
+.has-header-video .custom-header-media iframe {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: fixed;
</span><span class="cx" style="display: block; padding: 0 10px"> height: auto;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 50%;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1708,7 +1714,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> top: 62px;
</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">-.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-image img {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
</ins><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> top: auto;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1720,12 +1726,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Hides div in Customizer preview when header images or videos change. */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body:not(.has-header-image) .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+body:not(.has-header-image):not(.has-header-video) .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</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"> .has-header-image.twentyseventeen-front-page .site-branding,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.has-header-image.home.blog .site-branding {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.has-header-video.twentyseventeen-front-page .site-branding,
+.has-header-image.home.blog .site-branding,
+.has-header-video.home.blog .site-branding {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: table-cell;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> vertical-align: bottom;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3275,7 +3283,9 @@
</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"> .has-header-image.twentyseventeen-front-page .site-branding,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .has-header-image.home.blog .site-branding {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.twentyseventeen-front-page .site-branding,
+ .has-header-image.home.blog .site-branding,
+ .has-header-video.home.blog .site-branding {
</ins><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3286,23 +3296,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"> .has-header-image.twentyseventeen-front-page .custom-header,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .has-header-image.home.blog .custom-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-video.twentyseventeen-front-page .custom-header,
+ .has-header-image.home.blog .custom-header,
+ .has-header-video.home.blog .custom-header {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> height: auto;
</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">- .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 165px;
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</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">- .twentyseventeen-front-page.has-header-image .custom-header-image,
- .home.blog.has-header-image .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-image .custom-header-media,
+ .twentyseventeen-front-page.has-header-video .custom-header-media,
+ .home.blog.has-header-image .custom-header-media,
+ .home.blog.has-header-video .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</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">- .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media,
+ .has-header-video:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> height: auto;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3316,11 +3331,13 @@
</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"> .custom-logo-link img,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- body.home.title-tagline-hidden.has-header-image .custom-logo-link img {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
+ body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
</ins><span class="cx" style="display: block; padding: 0 10px"> max-width: 350px;
</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">- .title-tagline-hidden.home.has-header-image .custom-logo-link img {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .title-tagline-hidden.home.has-header-image .custom-logo-link img,
+ .title-tagline-hidden.home.has-header-video .custom-logo-link img {
</ins><span class="cx" style="display: block; padding: 0 10px"> max-height: 200px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3582,25 +3599,33 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* Front Page */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .twentyseventeen-front-page.has-header-image .site-branding,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .home.blog.has-header-image .site-branding {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-video .site-branding,
+ .home.blog.has-header-image .site-branding,
+ .home.blog.has-header-video .site-branding {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 70px;
</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">- .twentyseventeen-front-page.has-header-image .custom-header-image,
- .home.blog.has-header-image .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-image .custom-header-media,
+ .twentyseventeen-front-page.has-header-video .custom-header-media,
+ .home.blog.has-header-image .custom-header-media,
+ .home.blog.has-header-video .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 1200px;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 100vh;
</span><span class="cx" style="display: block; padding: 0 10px"> max-height: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: hidden;
</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">- .twentyseventeen-front-page.has-header-image .custom-header-image:before,
- .home.blog.has-header-image .custom-header-image:before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-image .custom-header-media:before,
+ .twentyseventeen-front-page.has-header-video .custom-header-media:before,
+ .home.blog.has-header-image .custom-header-media:before,
+ .home.blog.has-header-video .custom-header-media:before {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: 33%;
</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">- .admin-bar.twentyseventeen-front-page.has-header-image .custom-header-image,
- .admin-bar.home.blog.has-header-image .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
+ .admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
+ .admin-bar.home.blog.has-header-image .custom-header-media,
+ .admin-bar.home.blog.has-header-video .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> height: calc(100vh - 32px);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4114,12 +4139,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</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">- .custom-header-image {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .custom-header-media {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</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"> .twentyseventeen-front-page.has-header-image .site-branding,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .home.blog.has-header-image .site-branding {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-video .site-branding,
+ .home.blog.has-header-image .site-branding,
+ .home.blog.has-header-video .site-branding {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4158,7 +4185,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> a,
</span><span class="cx" style="display: block; padding: 0 10px"> .site-title a,
</span><span class="cx" style="display: block; padding: 0 10px"> .twentyseventeen-front-page.has-header-image .site-title,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .twentyseventeen-front-page.has-header-image .site-title a {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-video .site-title,
+ .twentyseventeen-front-page.has-header-image .site-title a,
+ .twentyseventeen-front-page.has-header-video .site-title a {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #222 !important; /* Make sure color schemes don't affect to print */
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4167,6 +4196,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> blockquote,
</span><span class="cx" style="display: block; padding: 0 10px"> .site-description,
</span><span class="cx" style="display: block; padding: 0 10px"> .twentyseventeen-front-page.has-header-image .site-description,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .twentyseventeen-front-page.has-header-video .site-description,
</ins><span class="cx" style="display: block; padding: 0 10px"> .entry-meta,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-meta a {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #777 !important; /* Make sure color schemes don't affect to print */
</span></span></pre></div>
<a id="branches47srcwpcontentthemestwentyseventeentemplatepartsheaderheaderimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.7/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.7/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php 2016-12-02 05:11:56 UTC (rev 39413)
+++ branches/4.7/src/wp-content/themes/twentyseventeen/template-parts/header/header-image.php 2016-12-02 05:19:44 UTC (rev 39414)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Displays header image
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Displays header media
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @package WordPress
</span><span class="cx" style="display: block; padding: 0 10px"> * @subpackage Twenty_Seventeen
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,7 +11,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="custom-header">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="custom-header-image">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="custom-header-media">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php the_custom_header_markup(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>