<!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>[15392] trunk/wp-content/themes/twentyten: Update to Twenty Ten 1.0.
 3 from theme dir.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/15392">15392</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-07-12 19:40:21 +0000 (Mon, 12 Jul 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update to Twenty Ten 1.0.3 from theme dir. see <a href="http://trac.wordpress.org/ticket/14284">#14284</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenattachmentphp">trunk/wp-content/themes/twentyten/attachment.php</a></li>
<li><a href="#trunkwpcontentthemestwentyteneditorstylecss">trunk/wp-content/themes/twentyten/editor-style.css</a></li>
<li><a href="#trunkwpcontentthemestwentytenfunctionsphp">trunk/wp-content/themes/twentyten/functions.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenheaderphp">trunk/wp-content/themes/twentyten/header.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenloopphp">trunk/wp-content/themes/twentyten/loop.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenstylecss">trunk/wp-content/themes/twentyten/style.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpcontentthemestwentytenattachmentphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/attachment.php (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/attachment.php        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/attachment.php        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -14,10 +14,12 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;p class=&quot;page-title&quot;&gt;&lt;a href=&quot;&lt;?php echo get_permalink( $post-&gt;post_parent ); ?&gt;&quot; title=&quot;&lt;?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post-&gt;post_parent ) ) ); ?&gt;&quot; rel=&quot;gallery&quot;&gt;&lt;?php
-                                        /* translators: %s - title of parent post */
-                                        printf( __( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; %s', 'twentyten' ), get_the_title( $post-&gt;post_parent ) );
-                                ?&gt;&lt;/a&gt;&lt;/p&gt;
</del><ins>+                                &lt;?php if ( ! empty( $post-&gt;post_parent ) ) : ?&gt;
+                                        &lt;p class=&quot;page-title&quot;&gt;&lt;a href=&quot;&lt;?php echo get_permalink( $post-&gt;post_parent ); ?&gt;&quot; title=&quot;&lt;?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post-&gt;post_parent ) ) ); ?&gt;&quot; rel=&quot;gallery&quot;&gt;&lt;?php
+                                                /* translators: %s - title of parent post */
+                                                printf( __( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; %s', 'twentyten' ), get_the_title( $post-&gt;post_parent ) );
+                                        ?&gt;&lt;/a&gt;&lt;/p&gt;
+                                &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                                 &lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
</span><span class="cx">                                         &lt;h2 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyteneditorstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/editor-style.css (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/editor-style.css        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/editor-style.css        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx">         line-height: 18px;
</span><span class="cx"> }
</span><span class="cx"> hr {
</span><del>-        background-color: #E7E7E7;
</del><ins>+        background-color: #e7e7e7;
</ins><span class="cx">         border:0;
</span><span class="cx">         height: 1px;
</span><span class="cx">         margin-bottom: 18px;
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx">         font-size: 131.25%;
</span><span class="cx"> }
</span><span class="cx"> ins {
</span><del>-        background: #FFFFCC;
</del><ins>+        background: #ffffcc;
</ins><span class="cx">         border: none;
</span><span class="cx">         color: #333;
</span><span class="cx"> }
</span><span class="lines">@@ -142,14 +142,14 @@
</span><span class="cx">         top: .5ex;
</span><span class="cx"> }
</span><span class="cx"> a:link {
</span><del>-        color:#0066CC;
</del><ins>+        color:#0066cc;
</ins><span class="cx"> }
</span><span class="cx"> a:visited {
</span><span class="cx">         color:#743399;
</span><span class="cx"> }
</span><span class="cx"> a:active,
</span><span class="cx"> a:hover {
</span><del>-        color: #FF4B33;
</del><ins>+        color: #ff4b33;
</ins><span class="cx"> }
</span><span class="cx"> p,
</span><span class="cx"> ul,
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/functions.php (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/functions.php        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/functions.php        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -204,64 +204,6 @@
</span><span class="cx"> endif;
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * Makes some changes to the &lt;title&gt; tag, by filtering the output of wp_title().
- *
- * If we have a site description and we're viewing the home page or a blog posts
- * page (when using a static front page), then we will add the site description.
- *
- * If we're viewing a search result, then we're going to recreate the title entirely.
- * We're going to add page numbers to all titles as well, to the middle of a search
- * result title and the end of all other titles.
- *
- * The site title also gets added to all titles.
- *
- * @since Twenty Ten 1.0
- *
- * @param string $title Title generated by wp_title()
- * @param string $separator The separator passed to wp_title(). Twenty Ten uses a
- *         vertical bar, &quot;|&quot;, as a separator in header.php.
- * @return string The new title, ready for the &lt;title&gt; tag.
- */
-function twentyten_filter_wp_title( $title, $separator ) {
-        // Don't affect wp_title() calls in feeds.
-        if ( is_feed() )
-                return $title;
-
-        // The $paged global variable contains the page number of a listing of posts.
-        // The $page global variable contains the page number of a single post that is paged.
-        // We'll display whichever one applies, if we're not looking at the first page.
-        global $paged, $page;
-
-        if ( is_search() ) {
-                // If we're a search, let's start over:
-                $title = sprintf( __( 'Search results for %s', 'twentyten' ), '&quot;' . get_search_query() . '&quot;' );
-                // Add a page number if we're on page 2 or more:
-                if ( $paged &gt;= 2 )
-                        $title .= &quot; $separator &quot; . sprintf( __( 'Page %s', 'twentyten' ), $paged );
-                // Add the site name to the end:
-                $title .= &quot; $separator &quot; . get_bloginfo( 'name', 'display' );
-                // We're done. Let's send the new title back to wp_title():
-                return $title;
-        }
-
-        // Otherwise, let's start by adding the site name to the end:
-        $title .= get_bloginfo( 'name', 'display' );
-
-        // If we have a site description and we're on the home/front page, add the description:
-        $site_description = get_bloginfo( 'description', 'display' );
-        if ( $site_description &amp;&amp; ( is_home() || is_front_page() ) )
-                $title .= &quot; $separator &quot; . $site_description;
-
-        // Add a page number if necessary:
-        if ( $paged &gt;= 2 || $page &gt;= 2 )
-                $title .= &quot; $separator &quot; . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
-
-        // Return the new title to wp_title():
-        return $title;
-}
-add_filter( 'wp_title', 'twentyten_filter_wp_title', 10, 2 );
-
-/**
</del><span class="cx">  * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
</span><span class="cx">  *
</span><span class="cx">  * To override this in a child theme, remove the filter and optionally add
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/header.php (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/header.php        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/header.php        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -15,11 +15,23 @@
</span><span class="cx"> &lt;title&gt;&lt;?php
</span><span class="cx">         /*
</span><span class="cx">          * Print the &lt;title&gt; tag based on what is being viewed.
</span><del>-         * We filter the output of wp_title() a bit -- see
-         * twentyten_filter_wp_title() in functions.php.
</del><span class="cx">          */
</span><ins>+        global $page, $paged;
+
</ins><span class="cx">         wp_title( '|', true, 'right' );
</span><span class="cx"> 
</span><ins>+        // Add the blog name.
+        bloginfo( 'name' );
+
+        // Add the blog description for the home/front page.
+        $site_description = get_bloginfo( 'description', 'display' );
+        if ( $site_description &amp;&amp; ( is_home() || is_front_page() ) )
+                echo &quot; | $site_description&quot;;
+
+        // Add a page number if necessary:
+        if ( $paged &gt;= 2 || $page &gt;= 2 )
+                echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
+
</ins><span class="cx">         ?&gt;&lt;/title&gt;
</span><span class="cx"> &lt;link rel=&quot;profile&quot; href=&quot;http://gmpg.org/xfn/11&quot; /&gt;
</span><span class="cx"> &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;all&quot; href=&quot;&lt;?php bloginfo( 'stylesheet_url' ); ?&gt;&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenloopphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/loop.php (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/loop.php        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/loop.php        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -68,22 +68,23 @@
</span><span class="cx">                         &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="cx"> &lt;?php if ( post_password_required() ) : ?&gt;
</span><span class="cx">                                 &lt;?php the_content(); ?&gt;
</span><del>-&lt;?php else : ?&gt;
-                                &lt;div class=&quot;gallery-thumb&quot;&gt;
-&lt;?php
-        $images = get_children( array( 'post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999 ) );
-        $total_images = count( $images );
-        $image = array_shift( $images );
-        $image_img_tag = wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
-?&gt;
-                                        &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php echo $image_img_tag; ?&gt;&lt;/a&gt;
-                                &lt;/div&gt;&lt;!-- .gallery-thumb --&gt;
-                                &lt;p&gt;&lt;em&gt;&lt;?php printf( __( 'This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten' ),
-                                                'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '&quot; rel=&quot;bookmark&quot;',
-                                                $total_images
-                                        ); ?&gt;&lt;/em&gt;&lt;/p&gt;
-
-                                &lt;?php the_excerpt(); ?&gt;
</del><ins>+&lt;?php else : ?&gt;                        
+                                &lt;?php 
+                                        $images = get_children( array( 'post_parent' =&gt; $post-&gt;ID, 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'orderby' =&gt; 'menu_order', 'order' =&gt; 'ASC', 'numberposts' =&gt; 999 ) );
+                                        if ( $images ) :
+                                                $total_images = count( $images );
+                                                $image = array_shift( $images );
+                                                $image_img_tag = wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
+                                ?&gt;
+                                                &lt;div class=&quot;gallery-thumb&quot;&gt;
+                                                        &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php echo $image_img_tag; ?&gt;&lt;/a&gt;
+                                                &lt;/div&gt;&lt;!-- .gallery-thumb --&gt;
+                                                &lt;p&gt;&lt;em&gt;&lt;?php printf( __( 'This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten' ),
+                                                                'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '&quot; rel=&quot;bookmark&quot;',
+                                                                $total_images
+                                                        ); ?&gt;&lt;/em&gt;&lt;/p&gt;
+                                &lt;?php endif; ?&gt;
+                                                &lt;?php the_excerpt(); ?&gt;
</ins><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/style.css (15391 => 15392)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/style.css        2010-07-12 19:39:59 UTC (rev 15391)
+++ trunk/wp-content/themes/twentyten/style.css        2010-07-12 19:40:21 UTC (rev 15392)
</span><span class="lines">@@ -7,7 +7,6 @@
</span><span class="cx"> Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
</span><span class="cx"> */
</span><span class="cx"> 
</span><del>-
</del><span class="cx"> /* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>