<!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>[23557] trunk/wp-content/themes/twentythirteen: Twenty Thirteen: CSS fixes to change single to double quotes, proper quoting around font-family names, and add a missing escape to a background image in custom-header.php.</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, #logmsg > ol { margin-left: 0; 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">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/23557">23557</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-03-01 16:40:29 +0000 (Fri, 01 Mar 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Thirteen: CSS fixes to change single to double quotes, proper quoting around font-family names, and add a missing escape to a background image in custom-header.php. Props markmcwilliams, fixes <a href="http://core.trac.wordpress.org/ticket/23653">#23653</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentythirteeninccustomheaderphp">trunk/wp-content/themes/twentythirteen/inc/custom-header.php</a></li>
<li><a href="#trunkwpcontentthemestwentythirteenstylecss">trunk/wp-content/themes/twentythirteen/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentythirteeninccustomheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/inc/custom-header.php (23556 => 23557)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/inc/custom-header.php        2013-03-01 16:37:24 UTC (rev 23556)
+++ trunk/wp-content/themes/twentythirteen/inc/custom-header.php        2013-03-01 16:40:29 UTC (rev 23557)
</span><span class="lines">@@ -85,7 +85,7 @@
</span><span class="cx">                 if ( ! empty( $header_image ) ) :
</span><span class="cx">         ?>
</span><span class="cx">                 .site-header {
</span><del>-                        background: url("<?php header_image(); ?>") no-repeat scroll top;
</del><ins>+                        background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top;
</ins><span class="cx">                         background-size: 1600px auto;
</span><span class="cx">                 }
</span><span class="cx">         <?php
</span><span class="lines">@@ -137,7 +137,7 @@
</span><span class="cx">                 box-sizing: border-box;
</span><span class="cx">                 <?php
</span><span class="cx">                 if ( ! empty( $header_image ) ) {
</span><del>-                        echo 'background: url("' . esc_url( $header_image ) . '") no-repeat scroll top; background-size: 1600px auto;';
</del><ins>+                        echo 'background: url(' . esc_url( $header_image ) . ') no-repeat scroll top; background-size: 1600px auto;';
</ins><span class="cx">                 } ?>
</span><span class="cx">                 padding: 0 20px;
</span><span class="cx">         }
</span><span class="lines">@@ -162,7 +162,7 @@
</span><span class="cx">         }
</span><span class="cx">         <?php endif; ?>
</span><span class="cx">         #headimg h1 {
</span><del>-                font: bold 60px/1 'Bitter', Georgia, serif;
</del><ins>+                font: bold 60px/1 Bitter, Georgia, serif;
</ins><span class="cx">                 margin: 0;
</span><span class="cx">                 padding: 58px 0 10px;
</span><span class="cx">         }
</span><span class="lines">@@ -173,7 +173,7 @@
</span><span class="cx">                 text-decoration: underline;
</span><span class="cx">         }
</span><span class="cx">         #headimg h2 {
</span><del>-                font: 200 italic 24px 'Source Sans Pro', Helvetica, sans-serif;
</del><ins>+                font: 200 italic 24px "Source Sans Pro", Helvetica, sans-serif;
</ins><span class="cx">                 margin: 0;
</span><span class="cx">                 text-shadow: none;
</span><span class="cx">         }
</span><span class="lines">@@ -193,7 +193,7 @@
</span><span class="cx"> */
</span><span class="cx"> function twentythirteen_admin_header_image() {
</span><span class="cx">         ?>
</span><del>-        <div id="headimg" style="background: url('<?php esc_url( header_image() ); ?>') no-repeat scroll top; background-size: 1600px auto;">
</del><ins>+        <div id="headimg" style="background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top; background-size: 1600px auto;">
</ins><span class="cx">                 <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?>
</span><span class="cx">                 <div class="hgroup">
</span><span class="cx">                         <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>
</span></span></pre></div>
<a id="trunkwpcontentthemestwentythirteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentythirteen/style.css (23556 => 23557)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentythirteen/style.css        2013-03-01 16:37:24 UTC (rev 23556)
+++ trunk/wp-content/themes/twentythirteen/style.css        2013-03-01 16:40:29 UTC (rev 23557)
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> h5,
</span><span class="cx"> h6 {
</span><span class="cx">         clear: both;
</span><del>-        font-family: 'Bitter', Georgia, serif;
</del><ins>+        font-family: Bitter, Georgia, serif;
</ins><span class="cx">         line-height: 1.3;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -215,7 +215,7 @@
</span><span class="cx"> pre,
</span><span class="cx"> samp {
</span><span class="cx">         font-family: monospace, serif;
</span><del>-        _font-family: 'courier new', monospace;
</del><ins>+        _font-family: "Courier New", monospace;
</ins><span class="cx">         font-size: 14px;
</span><span class="cx">         -webkit-hyphens: none;
</span><span class="cx">         -moz-hyphens: none;
</span><span class="lines">@@ -249,7 +249,7 @@
</span><span class="cx"> blockquote:after,
</span><span class="cx"> q:before,
</span><span class="cx"> q:after {
</span><del>-        content: '';
</del><ins>+        content: "";
</ins><span class="cx">         content: none;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -458,7 +458,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> hr {
</span><del>-        background: url("images/dotted-line.png") repeat center top;
</del><ins>+        background: url(images/dotted-line.png) repeat center top;
</ins><span class="cx">         background-size: 4px 4px;
</span><span class="cx">         border: 0;
</span><span class="cx">         height: 1px;
</span><span class="lines">@@ -479,12 +479,12 @@
</span><span class="cx"> * More info: genericons.com
</span><span class="cx"> */
</span><span class="cx"> @font-face {
</span><del>-        font-family: 'Genericons';
-        src: url('fonts/genericons-regular-webfont.eot');
-        src: url('fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
-                 url('fonts/genericons-regular-webfont.woff') format('woff'),
-                 url('fonts/genericons-regular-webfont.ttf') format('truetype'),
-                 url('fonts/genericons-regular-webfont.svg#genericonsregular') format('svg');
</del><ins>+        font-family: Genericons;
+        src: url(fonts/genericons-regular-webfont.eot);
+        src: url(fonts/genericons-regular-webfont.eot?#iefix) format("embedded-opentype"),
+                 url(fonts/genericons-regular-webfont.woff) format("woff"),
+                 url(fonts/genericons-regular-webfont.ttf) format("truetype"),
+                 url(fonts/genericons-regular-webfont.svg#genericonsregular) format("svg");
</ins><span class="cx">         font-weight: normal;
</span><span class="cx">         font-style: normal;
</span><span class="cx"> }
</span><span class="lines">@@ -508,7 +508,7 @@
</span><span class="cx"> .bypostauthor .fn:before,
</span><span class="cx"> .error404 .page-title:before {
</span><span class="cx">         -webkit-font-smoothing: antialiased;
</span><del>-        font: normal 16px/1 'Genericons';
</del><ins>+        font: normal 16px/1 Genericons;
</ins><span class="cx">         vertical-align: text-bottom;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -944,7 +944,7 @@
</span><span class="cx">
</span><span class="cx"> .site-header .searchform .field {
</span><span class="cx">         background-color: transparent;
</span><del>-        background-image: url("images/search-icon.png");
</del><ins>+        background-image: url(images/search-icon.png);
</ins><span class="cx">         background-position: 5px center;
</span><span class="cx">         background-repeat: no-repeat;
</span><span class="cx">         background-size: 24px 24px;
</span><span class="lines">@@ -1108,39 +1108,39 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .featured-post:before {
</span><del>-        content: '\f308';
</del><ins>+        content: "\f308";
</ins><span class="cx">         margin-right: 2px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .entry-meta .date a:before {
</span><del>-        content: '\f303';
</del><ins>+        content: "\f303";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .comments-link a:before {
</span><del>-        content: '\f300';
</del><ins>+        content: "\f300";
</ins><span class="cx">         margin-right: 2px;
</span><span class="cx">         top: -1px;
</span><span class="cx">         position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .entry-meta .author a:before {
</span><del>-        content: '\f304';
</del><ins>+        content: "\f304";
</ins><span class="cx">         top: -1px;
</span><span class="cx">         position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .categories-links a:first-child:before {
</span><del>-        content: '\f301';
</del><ins>+        content: "\f301";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .tags-links a:first-child:before {
</span><del>-        content: '\f302';
</del><ins>+        content: "\f302";
</ins><span class="cx">         top: -1px;
</span><span class="cx">         position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .edit-link a:before {
</span><del>-        content: '\f411';
</del><ins>+        content: "\f411";
</ins><span class="cx">         top: -1px;
</span><span class="cx">         position: relative;
</span><span class="cx"> }
</span><span class="lines">@@ -1366,7 +1366,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-aside .entry-content .date a:before {
</span><del>-        content: '\f303';
</del><ins>+        content: "\f303";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-aside footer.entry-meta {
</span><span class="lines">@@ -1384,7 +1384,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-aside cite:before {
</span><del>-        content: '\2014';
</del><ins>+        content: "\2014";
</ins><span class="cx">         margin-right: 5px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1408,7 +1408,7 @@
</span><span class="cx">
</span><span class="cx"> .format-audio .entry-content:before {
</span><span class="cx">         float: left;
</span><del>-        content: '\f109';
</del><ins>+        content: "\f109";
</ins><span class="cx">         font-size: 64px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1432,7 +1432,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-audio .audio-content {
</span><del>-        background: url("images/dotted-line.png") repeat-y left top;
</del><ins>+        background: url(images/dotted-line.png) repeat-y left top;
</ins><span class="cx">         background-size: 4px 4px;
</span><span class="cx">         float: right;
</span><span class="cx">         margin: 0 0 24px;
</span><span class="lines">@@ -1463,7 +1463,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-chat .entry-meta .date a:before {
</span><del>-        content: '\f108';
</del><ins>+        content: "\f108";
</ins><span class="cx">         margin-right: 2px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1687,9 +1687,9 @@
</span><span class="cx">
</span><span class="cx"> .format-status .entry-content:before,
</span><span class="cx"> .format-status .entry-meta:before {
</span><del>-        background: url("images/dotted-line.png") repeat-y left bottom;
</del><ins>+        background: url(images/dotted-line.png) repeat-y left bottom;
</ins><span class="cx">         background-size: 4px 4px;
</span><del>-        content: '';
</del><ins>+        content: "";
</ins><span class="cx">         display: block;
</span><span class="cx">         height: 100%;
</span><span class="cx">         position: absolute;
</span><span class="lines">@@ -1725,7 +1725,7 @@
</span><span class="cx">
</span><span class="cx"> .format-status .entry-content p:first-child:before {
</span><span class="cx">         background-color: rgba(0, 0, 0, 0.65);
</span><del>-        content: '';
</del><ins>+        content: "";
</ins><span class="cx">         height: 3px;
</span><span class="cx">         margin-top: 13px;
</span><span class="cx">         position: absolute;
</span><span class="lines">@@ -1747,7 +1747,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .format-status .entry-meta .date a:before {
</span><del>-        content: '\f105';
</del><ins>+        content: "\f105";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Video */
</span><span class="lines">@@ -1801,7 +1801,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .attachment .entry-title:before {
</span><del>-        content: '\f416';
</del><ins>+        content: "\f416";
</ins><span class="cx">         font-size: 32px;
</span><span class="cx">         margin-right: 10px;
</span><span class="cx"> }
</span><span class="lines">@@ -1825,11 +1825,11 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .attachment-meta:before {
</span><del>-        content: '\f307';
</del><ins>+        content: "\f307";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .full-size-link a:before {
</span><del>-        content: '\f402';
</del><ins>+        content: "\f402";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .full-size-link:before {
</span><span class="lines">@@ -2138,7 +2138,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .error404 .page-title:before {
</span><del>-        content: '\f423';
</del><ins>+        content: "\f423";
</ins><span class="cx">         color: #e8e5ce;
</span><span class="cx">         font-size: 964px;
</span><span class="cx">         line-height: 0.6;
</span><span class="lines">@@ -2204,9 +2204,9 @@
</span><span class="cx">
</span><span class="cx"> .comment-list > li:after,
</span><span class="cx"> .comment-list .children > li:before {
</span><del>-        background: url("images/dotted-line.png") repeat left top;
</del><ins>+        background: url(images/dotted-line.png) repeat left top;
</ins><span class="cx">         background-size: 4px 4px;
</span><del>-        content: '';
</del><ins>+        content: "";
</ins><span class="cx">         display: block;
</span><span class="cx">         height: 1px;
</span><span class="cx">         width: 100%;
</span><span class="lines">@@ -2251,7 +2251,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .bypostauthor .fn:before {
</span><del>-        content: '\f408';
</del><ins>+        content: "\f408";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .comment-list .edit-link {
</span><span class="lines">@@ -2289,14 +2289,14 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .comment-awaiting-moderation:before {
</span><del>-        content: '\f414';
</del><ins>+        content: "\f414";
</ins><span class="cx">         margin-right: 5px;
</span><span class="cx">         position: relative;
</span><span class="cx">         top: -2px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .comment-reply-link:before {
</span><del>-        content: '\f412';
</del><ins>+        content: "\f412";
</ins><span class="cx">         margin-right: 3px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2330,7 +2330,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #reply-title small a:before {
</span><del>-        content: '\f406';
</del><ins>+        content: "\f406";
</ins><span class="cx">         vertical-align: top;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2644,7 +2644,7 @@
</span><span class="cx">         (min-resolution: 120dpi) {
</span><span class="cx">
</span><span class="cx">         .site-header .searchform .field {
</span><del>-                background-image: url("images/search-icon-2x.png");
</del><ins>+                background-image: url(images/search-icon-2x.png);
</ins><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         .format-audio .audio-content,
</span><span class="lines">@@ -2652,7 +2652,7 @@
</span><span class="cx">         .format-status .entry-meta:before,
</span><span class="cx">         .comment-list > li:after,
</span><span class="cx">         .comment-list .children > li:before {
</span><del>-                background-image: url("images/dotted-line-2x.png");
</del><ins>+                background-image: url(images/dotted-line-2x.png);
</ins><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2896,7 +2896,7 @@
</span><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         .menu-toggle:after {
</span><del>-                content: '\f502';
</del><ins>+                content: "\f502";
</ins><span class="cx">                 font-size: 12px;
</span><span class="cx">                 padding-left: 8px;
</span><span class="cx">                 vertical-align: -webkit-calc(-4px);
</span><span class="lines">@@ -2904,7 +2904,7 @@
</span><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         .toggled-on .menu-toggle:after {
</span><del>-                content: '\f500';
</del><ins>+                content: "\f500";
</ins><span class="cx">                 vertical-align: -webkit-calc(2px);
</span><span class="cx">                 vertical-align: calc(2px);
</span><span class="cx">         }
</span><span class="lines">@@ -2987,7 +2987,7 @@
</span><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         .error404 .page-title:before {
</span><del>-                content: '';
</del><ins>+                content: "";
</ins><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         .comment-author {
</span></span></pre>
</div>
</div>
</body>
</html>