<!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>[14433] trunk/wp-content/themes/twentyten:
  Twenty Ten spacing and string cleanups.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14433">14433</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-05-04 07:01:09 +0000 (Tue, 04 May 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Twenty Ten spacing and string cleanups. props zeo, markmcwilliams. see <a href="http://trac.wordpress.org/ticket/13198">#13198</a>. Add a twentyten_credits filter, props nathanrice, fixes <a href="http://trac.wordpress.org/ticket/12804">#12804</a>. Also clean up the generator/credits string.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenattachmentphp">trunk/wp-content/themes/twentyten/attachment.php</a></li>
<li><a href="#trunkwpcontentthemestwentytencommentsphp">trunk/wp-content/themes/twentyten/comments.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenfooterphp">trunk/wp-content/themes/twentyten/footer.php</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="#trunkwpcontentthemestwentytenindexphp">trunk/wp-content/themes/twentyten/index.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenloopphp">trunk/wp-content/themes/twentyten/loop.php</a></li>
<li><a href="#trunkwpcontentthemestwentytensinglephp">trunk/wp-content/themes/twentyten/single.php</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 (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/attachment.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/attachment.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> &lt;?php elseif ( ! comments_open() &amp;&amp; ! pings_open() ) : // Comments and trackbacks closed ?&gt;
</span><span class="cx">                                                 &lt;?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ); ?&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><del>-&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</del><ins>+&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), ' &lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</ins><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-utility --&gt;
</span><span class="cx">                                 &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytencommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/comments.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/comments.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/comments.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> &lt;?php if ( have_comments() ) : ?&gt;
</span><span class="cx">                         &lt;h3 id=&quot;comments-title&quot;&gt;
</span><span class="cx"> &lt;?php
</span><del>-    printf( _n('One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten'),
</del><ins>+    printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
</ins><span class="cx">         number_format_i18n( get_comments_number() ), '&lt;em&gt;' . get_the_title() . '&lt;/em&gt;' );
</span><span class="cx"> ?&gt;
</span><span class="cx">             &lt;/h3&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenfooterphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/footer.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/footer.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/footer.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -23,7 +23,8 @@
</span><span class="cx">                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;site-generator&quot;&gt;
</span><del>-                                &lt;?php printf( __( 'Proudly powered by &lt;span id=&quot;generator-link&quot;&gt;%s&lt;/span&gt;.', 'twentyten' ), '&lt;a href=&quot;http://wordpress.org/&quot; title=&quot;' . esc_attr__( 'Semantic Personal Publishing Platform', 'twentyten' ) . '&quot; rel=&quot;generator&quot;&gt;' . __( 'WordPress', 'twentyten' ) . '&lt;/a&gt;' ); ?&gt;
</del><ins>+                                &lt;?php do_action('twentyten_credits' ); ?&gt;
+                                &lt;a href=&quot;http://wordpress.org/&quot; title=&quot;&lt;?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?&gt;&quot; rel=&quot;generator&quot;&gt;&lt;?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?&gt;&lt;/a&gt;
</ins><span class="cx">                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #colophon --&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/functions.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/functions.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/functions.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -104,8 +104,8 @@
</span><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 twentyten_header_image_width and twentyten_header_image_height to change these values.
</span><del>-        define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width',  940 ) );
-        define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height',        198 ) );
</del><ins>+        define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940 ) );
+        define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198 ) );
</ins><span class="cx"> 
</span><span class="cx">         // We'll be using post thumbnails for custom header images on posts and pages.
</span><span class="cx">         // We want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit).
</span><span class="lines">@@ -227,7 +227,7 @@
</span><span class="cx">  * @return string A pretty 'Continue reading' link.
</span><span class="cx">  */
</span><span class="cx"> function twentyten_excerpt_more( $more ) {
</span><del>-        return '&amp;nbsp;&amp;hellip; &lt;a href=&quot;'. get_permalink() . '&quot;&gt;' . __('Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten') . '&lt;/a&gt;';
</del><ins>+        return ' &amp;hellip; &lt;a href=&quot;'. get_permalink() . '&quot;&gt;' . __('Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten') . '&lt;/a&gt;';
</ins><span class="cx"> }
</span><span class="cx"> add_filter( 'excerpt_more', 'twentyten_excerpt_more' );
</span><span class="cx"> 
</span><span class="lines">@@ -268,7 +268,7 @@
</span><span class="cx">                         &lt;br /&gt;
</span><span class="cx">                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;div class=&quot;comment-meta commentmetadata&quot;&gt;&lt;a href=&quot;&lt;?php echo esc_url( get_comment_link( $comment-&gt;comment_ID ) ); ?&gt;&quot;&gt;&lt;?php printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(),  get_comment_time() ); ?&gt;&lt;/a&gt;&lt;?php edit_comment_link( __( '(Edit)', 'twentyten' ),'  ','' ); ?&gt;&lt;/div&gt;
</del><ins>+                &lt;div class=&quot;comment-meta commentmetadata&quot;&gt;&lt;a href=&quot;&lt;?php echo esc_url( get_comment_link( $comment-&gt;comment_ID ) ); ?&gt;&quot;&gt;&lt;?php printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(),  get_comment_time() ); ?&gt;&lt;/a&gt;&lt;?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?&gt;&lt;/div&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;comment-body&quot;&gt;&lt;?php comment_text(); ?&gt;&lt;/div&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -279,7 +279,7 @@
</span><span class="cx"> 
</span><span class="cx">         &lt;?php else : ?&gt;
</span><span class="cx">         &lt;li class=&quot;post pingback&quot;&gt;
</span><del>-                &lt;p&gt;&lt;?php _e( 'Pingback: ', 'twentyten' ); ?&gt;&lt;?php comment_author_link(); ?&gt;&lt;?php edit_comment_link ( __('edit', 'twentyten'), '&amp;nbsp;&amp;nbsp;', '' ); ?&gt;&lt;/p&gt;
</del><ins>+                &lt;p&gt;&lt;?php _e( 'Pingback:', 'twentyten' ); ?&gt; &lt;?php comment_author_link(); ?&gt;&lt;?php edit_comment_link ( __('(Edit)', 'twentyten'), ' ' ); ?&gt;&lt;/p&gt;
</ins><span class="cx">         &lt;?php endif;
</span><span class="cx"> }
</span><span class="cx"> endif;
</span><span class="lines">@@ -294,9 +294,9 @@
</span><span class="cx"> function twentyten_widgets_init() {
</span><span class="cx">         // Area 1
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'Primary Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'Primary Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'primary-widget-area',
</span><del>-                'description' =&gt; __( 'The primary widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The primary widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -305,9 +305,9 @@
</span><span class="cx"> 
</span><span class="cx">         // Area 2
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'Secondary Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'Secondary Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'secondary-widget-area',
</span><del>-                'description' =&gt; __( 'The secondary widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The secondary widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -316,9 +316,9 @@
</span><span class="cx"> 
</span><span class="cx">         // Area 3
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'First Footer Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'First Footer Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'first-footer-widget-area',
</span><del>-                'description' =&gt; __( 'The first footer widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The first footer widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -327,9 +327,9 @@
</span><span class="cx"> 
</span><span class="cx">         // Area 4
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'Second Footer Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'Second Footer Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'second-footer-widget-area',
</span><del>-                'description' =&gt; __( 'The second footer widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The second footer widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -338,9 +338,9 @@
</span><span class="cx"> 
</span><span class="cx">         // Area 5
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'Third Footer Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'Third Footer Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'third-footer-widget-area',
</span><del>-                'description' =&gt; __( 'The third footer widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The third footer widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -349,9 +349,9 @@
</span><span class="cx"> 
</span><span class="cx">         // Area 6
</span><span class="cx">         register_sidebar( array (
</span><del>-                'name' =&gt; __( 'Fourth Footer Widget Area' , 'twentyten' ),
</del><ins>+                'name' =&gt; __( 'Fourth Footer Widget Area', 'twentyten' ),
</ins><span class="cx">                 'id' =&gt; 'fourth-footer-widget-area',
</span><del>-                'description' =&gt; __( 'The fourth footer widget area' , 'twentyten' ),
</del><ins>+                'description' =&gt; __( 'The fourth footer widget area', 'twentyten' ),
</ins><span class="cx">                 'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget-container %2$s&quot;&gt;',
</span><span class="cx">                 'after_widget' =&gt; &quot;&lt;/li&gt;&quot;,
</span><span class="cx">                 'before_title' =&gt; '&lt;h3 class=&quot;widget-title&quot;&gt;',
</span><span class="lines">@@ -375,17 +375,15 @@
</span><span class="cx"> function twentyten_get_next_attachment_url() {
</span><span class="cx">         global $post;
</span><span class="cx">         $post = get_post($post);
</span><del>-        $attachments = array_values(get_children( array('post_parent' =&gt; $post-&gt;post_parent, 'post_status' =&gt; 'inherit', 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'order' =&gt; 'ASC', 'orderby' =&gt; 'menu_order ID') ));
</del><ins>+        $attachments = array_values( get_children( array( 'post_parent' =&gt; $post-&gt;post_parent, 'post_status' =&gt; 'inherit', 'post_type' =&gt; 'attachment', 'post_mime_type' =&gt; 'image', 'order' =&gt; 'ASC', 'orderby' =&gt; 'menu_order ID' ) ) );
</ins><span class="cx">  
</span><del>-        foreach ( $attachments as $k =&gt; $attachment )
</del><ins>+        foreach ( $attachments as $k =&gt; $attachment ) {
</ins><span class="cx">                 if ( $attachment-&gt;ID == $post-&gt;ID )
</span><span class="cx">                         break;
</span><del>-
-                $k = $k + 1;
-  
-                if ( isset($attachments[$k]) ) {
-                        return get_attachment_link($attachments[$k]-&gt;ID);                
-                } else {
-                        return get_permalink($post-&gt;post_parent);
-                }
</del><ins>+        }
+        $k++;
+        if ( isset( $attachments[ $k ] ) )
+                return get_attachment_link( $attachments[ $k ]-&gt;ID );
+        else
+                return get_permalink( $post-&gt;post_parent );
</ins><span class="cx"> }
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/header.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/header.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/header.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php
</span><span class="cx">                                         // Check if this is a post or page, if it has a thumbnail, and if it's a big one
</span><del>-                                        if (         is_singular() &amp;&amp;
</del><ins>+                                        if ( is_singular() &amp;&amp;
</ins><span class="cx">                                                         has_post_thumbnail( $post-&gt;ID ) &amp;&amp;
</span><span class="cx">                                                         ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&gt;ID ), 'post-thumbnail') ) &amp;&amp;
</span><span class="cx">                                                         $image[1] &gt;= HEADER_IMAGE_WIDTH ) :
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/index.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/index.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/index.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -1,5 +1,4 @@
</span><span class="cx"> &lt;?php
</span><del>-
</del><span class="cx"> /**
</span><span class="cx">  * The main template file
</span><span class="cx">  *
</span><span class="lines">@@ -13,7 +12,6 @@
</span><span class="cx">  * @subpackage Twenty Ten
</span><span class="cx">  * @since 3.0.0
</span><span class="cx">  */
</span><del>- 
</del><span class="cx"> ?&gt;
</span><span class="cx">  
</span><span class="cx"> &lt;?php get_header(); ?&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytenloopphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/loop.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/loop.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/loop.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -13,7 +13,7 @@
</span><span class="cx">  */
</span><span class="cx"> ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* Display navigation to next/previous pages when applicable  */ ?&gt;
</del><ins>+&lt;?php /* Display navigation to next/previous pages when applicable */ ?&gt;
</ins><span class="cx"> &lt;?php if ( $wp_query-&gt;max_num_pages &gt; 1 ) : ?&gt;
</span><span class="cx">         &lt;div id=&quot;nav-above&quot; class=&quot;navigation&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link( __( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' ) ); ?&gt;&lt;/div&gt;
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx">         &lt;/div&gt;&lt;!-- #nav-above --&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* If there are no posts to display, such as an empty archive page  */ ?&gt;
</del><ins>+&lt;?php /* If there are no posts to display, such as an empty archive page */ ?&gt;
</ins><span class="cx"> &lt;?php if ( ! have_posts() ) : ?&gt;
</span><span class="cx">         &lt;div id=&quot;post-0&quot; class=&quot;post error404 not-found&quot;&gt;
</span><span class="cx">                 &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( 'Not Found', 'twentyten' ); ?&gt;&lt;/h1&gt;
</span><span class="lines">@@ -32,10 +32,10 @@
</span><span class="cx">         &lt;/div&gt;&lt;!-- #post-0 --&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* Start the Loop  */ ?&gt;
</del><ins>+&lt;?php /* Start the Loop */ ?&gt;
</ins><span class="cx"> &lt;?php while ( have_posts() ) : the_post(); ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* How to Display posts in the Gallery Category  */ ?&gt;
</del><ins>+&lt;?php /* How to Display posts in the Gallery Category */ ?&gt;
</ins><span class="cx">         &lt;?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?&gt;
</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;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-summary --&gt;
</span><span class="cx">         &lt;?php else : ?&gt;
</span><span class="cx">                         &lt;div class=&quot;entry-content&quot;&gt;
</span><del>-                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
</del><ins>+                                &lt;?php the_content( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx">         &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* How to display all other posts  */ ?&gt;
</del><ins>+&lt;?php /* How to display all other posts */ ?&gt;
</ins><span class="cx">         &lt;?php else : ?&gt;
</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;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-summary --&gt;
</span><span class="cx">         &lt;?php else : ?&gt;
</span><span class="cx">                         &lt;div class=&quot;entry-content&quot;&gt;
</span><del>-                                &lt;?php the_content( __( 'Continue&amp;nbsp;reading&amp;nbsp;&lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
</del><ins>+                                &lt;?php the_content( __( 'Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
</ins><span class="cx">                                 &lt;?php wp_link_pages( array( 'before' =&gt; '&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ), 'after' =&gt; '&lt;/div&gt;' ) ); ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx">         &lt;?php endif; ?&gt;
</span><span class="lines">@@ -155,7 +155,7 @@
</span><span class="cx">         &lt;?php endif; // if different categories queried ?&gt;
</span><span class="cx"> &lt;?php endwhile; ?&gt;
</span><span class="cx"> 
</span><del>-&lt;?php /* Display navigation to next/previous pages when applicable  */ ?&gt;
</del><ins>+&lt;?php /* Display navigation to next/previous pages when applicable */ ?&gt;
</ins><span class="cx"> &lt;?php if (  $wp_query-&gt;max_num_pages &gt; 1 ) : ?&gt;
</span><span class="cx">                                 &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt;
</span><span class="cx">                                         &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link( __( '&lt;span class=&quot;meta-nav&quot;&gt;&amp;larr;&lt;/span&gt; Older posts', 'twentyten' ) ); ?&gt;&lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensinglephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/single.php (14432 => 14433)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/single.php        2010-05-04 06:13:28 UTC (rev 14432)
+++ trunk/wp-content/themes/twentyten/single.php        2010-05-04 07:01:09 UTC (rev 14433)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx">                                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><span class="cx">                                                 &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
</span><span class="cx">                                                 &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_time(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;&lt;?php echo get_the_date(); ?&gt;&lt;/span&gt;&lt;/a&gt;
</span><del>-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt; &lt;/span&gt;
</del><ins>+                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
</ins><span class="cx">                                                 &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;&lt;/span&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -39,14 +39,14 @@
</span><span class="cx">                                         &lt;div id=&quot;entry-author-info&quot;&gt;
</span><span class="cx">                                                 &lt;div id=&quot;author-avatar&quot;&gt;
</span><span class="cx">                                                         &lt;?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?&gt;
</span><del>-                                                &lt;/div&gt;&lt;!-- #author-avatar         --&gt;
</del><ins>+                                                &lt;/div&gt;&lt;!-- #author-avatar --&gt;
</ins><span class="cx">                                                 &lt;div id=&quot;author-description&quot;&gt;
</span><span class="cx">                                                         &lt;h2&gt;&lt;?php _e( 'About ', 'twentyten' ); ?&gt;&lt;?php the_author(); ?&gt;&lt;/h2&gt;
</span><span class="cx">                                                         &lt;?php the_author_meta( 'description' ); ?&gt;
</span><span class="cx">                                                         &lt;div id=&quot;author-link&quot;&gt;
</span><span class="cx">                                                                 &lt;a href=&quot;&lt;?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?&gt;&quot; title=&quot;&lt;?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?&gt;&quot;&gt;&lt;?php _e( 'View all posts by ', 'twentyten' ); ?&gt;&lt;?php the_author(); ?&gt; &amp;rarr;&lt;/a&gt;
</span><span class="cx">                                                         &lt;/div&gt;&lt;!-- #author-link        --&gt;
</span><del>-                                                &lt;/div&gt;&lt;!-- #author-description        --&gt;
</del><ins>+                                                &lt;/div&gt;&lt;!-- #author-description --&gt;
</ins><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-author-info --&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>