<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[17729] trunk/wp-content/themes/twentyeleven: Twenty Eleven:
add first batch of new header images,
courtesy of the immeasurable photomatt archives - see #17198</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17729">17729</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2011-04-27 21:44:09 +0000 (Wed, 27 Apr 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see <a href="http://trac.wordpress.org/ticket/17198">#17198</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevenfunctionsphp">trunk/wp-content/themes/twentyeleven/functions.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderschessboardthumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderschessboardjpg">trunk/wp-content/themes/twentyeleven/images/headers/chessboard.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderslanternsthumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderslanternsjpg">trunk/wp-content/themes/twentyeleven/images/headers/lanterns.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderspineconethumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderspineconejpg">trunk/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheadersshorethumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheadersshorejpg">trunk/wp-content/themes/twentyeleven/images/headers/shore.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderstrolleythumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderstrolleyjpg">trunk/wp-content/themes/twentyeleven/images/headers/trolley.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderswheelthumbnailjpg">trunk/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheaderswheeljpg">trunk/wp-content/themes/twentyeleven/images/headers/wheel.jpg</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentyelevenimagesheadersdefaultjpg">trunk/wp-content/themes/twentyeleven/images/headers/default.jpg</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentyelevenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/functions.php (17728 => 17729)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/functions.php        2011-04-27 21:25:09 UTC (rev 17728)
+++ trunk/wp-content/themes/twentyeleven/functions.php        2011-04-27 21:44:09 UTC (rev 17729)
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx">         define( 'HEADER_TEXTCOLOR', '000' );
</span><span class="cx">
</span><span class="cx">         // No CSS, just an IMG call. The %s is a placeholder for the theme template directory URI.
</span><del>-        define( 'HEADER_IMAGE', '%s/images/headers/default.jpg' );
</del><ins>+        define( 'HEADER_IMAGE', '' ); // Leaving empty for random image rotation.
</ins><span class="cx">
</span><span class="cx">         // The height and width of your custom header. You can hook into the theme's own filters to change these values.
</span><span class="cx">         // Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values.
</span><span class="lines">@@ -147,6 +147,46 @@
</span><span class="cx">         add_custom_image_header( 'twentyeleven_header_style', 'twentyeleven_admin_header_style', 'twentyeleven_admin_header_image' );
</span><span class="cx">
</span><span class="cx">         // ... and thus ends the changeable header business.
</span><ins>+
+        // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI.
+        register_default_headers( array(
+                'wheel' => array(
+                        'url' => '%s/images/headers/wheel.jpg',
+                        'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Wheel', 'twentyeleven' )
+                ),
+                'shore' => array(
+                        'url' => '%s/images/headers/shore.jpg',
+                        'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Shore', 'twentyeleven' )
+                ),
+                'trolley' => array(
+                        'url' => '%s/images/headers/trolley.jpg',
+                        'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Trolley', 'twentyeleven' )
+                ),
+                'pine-cone' => array(
+                        'url' => '%s/images/headers/pine-cone.jpg',
+                        'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Pine Cone', 'twentyeleven' )
+                ),
+                'chessboard' => array(
+                        'url' => '%s/images/headers/chessboard.jpg',
+                        'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Chessboard', 'twentyeleven' )
+                ),
+                'lanterns' => array(
+                        'url' => '%s/images/headers/lanterns.jpg',
+                        'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg',
+                        /* translators: header image description */
+                        'description' => __( 'Lanterns', 'twentyeleven' )
+                )
+        ) );
</ins><span class="cx"> }
</span><span class="cx"> endif; // twentyeleven_setup
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenimagesheaderschessboardthumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderschessboardjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/chessboard.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/chessboard.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheadersdefaultjpg"></a>
<div class="binary"><h4>Deleted: trunk/wp-content/themes/twentyeleven/images/headers/default.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenimagesheaderslanternsthumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderslanternsjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/lanterns.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/lanterns.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderspineconethumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderspineconejpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheadersshorethumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheadersshorejpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/shore.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/shore.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderstrolleythumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderstrolleyjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/trolley.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/trolley.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderswheelthumbnailjpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span><a id="trunkwpcontentthemestwentyelevenimagesheaderswheeljpg"></a>
<div class="binary"><h4>Added: trunk/wp-content/themes/twentyeleven/images/headers/wheel.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/wp-content/themes/twentyeleven/images/headers/wheel.jpg
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx"> + application/octet-stream
</span></div>
</body>
</html>