<!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>[14541] trunk/wp-content/themes/twentyten: Clean up loop i18n.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14541">14541</a></dd>
<dt>Author</dt> <dd>nbachiyski</dd>
<dt>Date</dt> <dd>2010-05-10 19:06:22 +0000 (Mon, 10 May 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Clean up loop i18n. Props zeo, see <a href="http://trac.wordpress.org/ticket/13198">#13198</a>
 * Take out tags from strings
 * Extract two common and complicatd strings into functions
 * Whitespace</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpcontentthemestwentytenattachmentphp">trunk/wp-content/themes/twentyten/attachment.php</a></li>
<li><a href="#trunkwpcontentthemestwentytenfunctionsphp">trunk/wp-content/themes/twentyten/functions.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 (14540 => 14541)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/attachment.php        2010-05-10 16:06:46 UTC (rev 14540)
+++ trunk/wp-content/themes/twentyten/attachment.php        2010-05-10 19:06:22 UTC (rev 14541)
</span><span class="lines">@@ -80,23 +80,8 @@
</span><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-content --&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                        &lt;?php
-                                                $tag_list = get_the_tag_list();
-                                                if ( $tag_list ) {
-                                                        $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
-                                                } else {
-                                                        $utility_text = __( 'This entry was posted in %1$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
-                                                }
-                                                printf(
-                                                        $utility_text,
-                                                        get_the_category_list( ', ' ),
-                                                        $tag_list,
-                                                        get_permalink(),
-                                                        the_title_attribute( 'echo=0' ),
-                                                        get_post_comments_feed_link()
-                                                );
-                                        ?&gt;
-&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), ' &lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</del><ins>+                                                &lt;?php echo twentyten_posted_in(); ?&gt;
+                                                &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="trunkwpcontentthemestwentytenfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/functions.php (14540 => 14541)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/functions.php        2010-05-10 16:06:46 UTC (rev 14540)
+++ trunk/wp-content/themes/twentyten/functions.php        2010-05-10 19:06:22 UTC (rev 14541)
</span><span class="lines">@@ -410,4 +410,45 @@
</span><span class="cx">                 return get_attachment_link( $attachments[ $k ]-&gt;ID );
</span><span class="cx">         else
</span><span class="cx">                 return get_permalink( $post-&gt;post_parent );
</span><del>-}
</del><span class="cx">\ No newline at end of file
</span><ins>+}
+
+/**
+ * Returns HTML with meta information for the current post—date/time and author.
+ */
+function twentyten_posted_on() {
+        return sprintf( __( '&lt;span %1$s&gt;Posted on&lt;/span&gt; %2$s by %3$s', 'twentyten' ),
+                'class=&quot;meta-prep meta-prep-author&quot;',
+                sprintf( '&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt;',
+                        get_permalink(),
+                        esc_attr( get_the_time() ),
+                        get_the_date()
+                ),
+                sprintf( '&lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%1$s&quot; title=&quot;%2$s&quot;&gt;%3$s&lt;/a&gt;&lt;/span&gt;', 
+                        get_author_posts_url( get_the_author_meta( 'ID' ) ),
+                        sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
+                        get_the_author()
+                )
+        );
+        
+}
+
+/**
+ * Returns HTML with meta information for the current post—category, tags and permalink
+ */
+
+function twentyten_posted_in() {
+        $tag_list = get_the_tag_list();
+        if ( $tag_list ) {
+                $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
+        } else {
+                $utility_text = __( 'This entry was posted in %1$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
+        }
+        return sprintf(
+                $utility_text,
+                get_the_category_list( ', ' ),
+                $tag_list,
+                get_permalink(),
+                the_title_attribute( 'echo=0' ),
+                get_post_comments_feed_link()
+        );        
+}
</ins></span></pre></div>
<a id="trunkwpcontentthemestwentytenloopphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/loop.php (14540 => 14541)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/loop.php        2010-05-10 16:06:46 UTC (rev 14540)
+++ trunk/wp-content/themes/twentyten/loop.php        2010-05-10 19:06:22 UTC (rev 14541)
</span><span class="lines">@@ -41,26 +41,18 @@
</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="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><del>-                                &lt;?php
-                                        printf( __( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten' ),
-                                                get_permalink(),
-                                                esc_attr( get_the_time() ),
-                                                get_the_date(),
-                                                get_author_posts_url( get_the_author_meta( 'ID' ) ),
-                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
-                                                get_the_author()
-                                        );
-                                ?&gt;
</del><ins>+                                &lt;?php echo twentyten_posted_on(); ?&gt;
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="cx">                                 &lt;div class=&quot;gallery-thumb&quot;&gt;
</span><del>-                                        &lt;a class=&quot;size-thumbnail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&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 );
-                                        echo wp_get_attachment_image( $image-&gt;ID, 'thumbnail' );
-                                        ?&gt;&lt;/a&gt;
</del><ins>+&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;
</ins><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                                 &lt;p&gt;&lt;em&gt;&lt;?php printf( __( 'This gallery contains &lt;a %1$s&gt;%2$s photos&lt;/a&gt;.', 'twentyten' ),
</span><span class="cx">                                                 'href=&quot;' . get_permalink() . '&quot; title=&quot;' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '&quot; rel=&quot;bookmark&quot;',
</span><span class="lines">@@ -72,7 +64,7 @@
</span><span class="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><span class="cx">                                 &lt;a href=&quot;&lt;?php echo get_term_link( _x('gallery', 'gallery category slug', 'twentyten'), 'category' ); ?&gt;&quot; title=&quot;&lt;?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?&gt;&quot;&gt;&lt;?php _e( 'More Galleries', 'twentyten' ); ?&gt;&lt;/a&gt;
</span><del>-                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
</del><ins>+                                &lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt;
</ins><span class="cx">                                 &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
</span><span class="cx">                                 &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</span><span class="lines">@@ -92,17 +84,8 @@
</span><span class="cx">         &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                &lt;?php
-                                        printf( __( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten' ),
-                                                get_permalink(),
-                                                esc_attr( get_the_time() ),
-                                                get_the_date(),
-                                                get_author_posts_url( get_the_author_meta( 'ID' ) ),
-                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
-                                                get_the_author()
-                                        );
-                                ?&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
</del><ins>+                                &lt;?php echo twentyten_posted_on(); ?&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt;
</ins><span class="cx">                                 &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
</span><span class="cx">                                 &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</span><span class="lines">@@ -114,16 +97,7 @@
</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="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><del>-                                &lt;?php
-                                        printf( __( '&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;Posted on &lt;/span&gt;&lt;a href=&quot;%1$s&quot; title=&quot;%2$s&quot; rel=&quot;bookmark&quot;&gt;&lt;span class=&quot;entry-date&quot;&gt;%3$s&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;meta-sep&quot;&gt; by &lt;/span&gt; &lt;span class=&quot;author vcard&quot;&gt;&lt;a class=&quot;url fn n&quot; href=&quot;%4$s&quot; title=&quot;%5$s&quot;&gt;%6$s&lt;/a&gt;&lt;/span&gt;', 'twentyten' ),
-                                                get_permalink(),
-                                                esc_attr( get_the_time() ),
-                                                get_the_date(),
-                                                get_author_posts_url( get_the_author_meta( 'ID' ) ),
-                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
-                                                get_the_author()
-                                        );
-                                ?&gt;
</del><ins>+                                &lt;?php echo twentyten_posted_on(); ?&gt;
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;?php if ( is_archive() || is_search() ) : // Only display Excerpts for archives &amp; search ?&gt;
</span><span class="lines">@@ -138,9 +112,14 @@
</span><span class="cx">         &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                &lt;span class=&quot;cat-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;&lt;?php _e( 'Posted in ', 'twentyten' ); ?&gt;&lt;/span&gt;&lt;?php the_category( ', ' ); ?&gt;&lt;/span&gt;
-                                &lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;
-                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __( 'Tagged ', 'twentyten' ) . '&lt;/span&gt;', ', ', '&lt;span class=&quot;meta-sep&quot;&gt; | &lt;/span&gt;' ); ?&gt;
</del><ins>+                                &lt;span class=&quot;cat-links&quot;&gt;
+                                        &lt;span class=&quot;entry-utility-prep entry-utility-prep-cat-links&quot;&gt;
+                                        &lt;?php
+                                                printf( __('Posted in %s', 'twentyten' ), '&lt;/span&gt; '.get_the_category_list( ', ' ) );
+                                        ?&gt;                                        
+                                &lt;/span&gt;
+                                &lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt;
+                                &lt;?php the_tags( '&lt;span class=&quot;tag-links&quot;&gt;&lt;span class=&quot;entry-utility-prep entry-utility-prep-tag-links&quot;&gt;' . __( 'Tagged ', 'twentyten' ) . '&lt;/span&gt;', ', ', '&lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt;' ); ?&gt;
</ins><span class="cx">                                 &lt;span class=&quot;comments-link&quot;&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
</span><span class="cx">                                 &lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;meta-sep&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #entry-utility --&gt;
</span></span></pre></div>
<a id="trunkwpcontentthemestwentytensinglephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyten/single.php (14540 => 14541)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyten/single.php        2010-05-10 16:06:46 UTC (rev 14540)
+++ trunk/wp-content/themes/twentyten/single.php        2010-05-10 19:06:22 UTC (rev 14541)
</span><span class="lines">@@ -24,10 +24,7 @@
</span><span class="cx">                                         &lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-meta&quot;&gt;
</span><del>-                                                &lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&lt;?php _e( 'Posted on ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &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;
-                                                &lt;span class=&quot;meta-sep&quot;&gt;&lt;?php _e( ' by ', 'twentyten' ); ?&gt;&lt;/span&gt;
-                                                &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;
</del><ins>+                                                &lt;?php echo twentyten_posted_on(); ?&gt;
</ins><span class="cx">                                         &lt;/div&gt;&lt;!-- .entry-meta --&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-content&quot;&gt;
</span><span class="lines">@@ -51,23 +48,8 @@
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;entry-utility&quot;&gt;
</span><del>-                                        &lt;?php
-                                                $tag_list = get_the_tag_list('', ', ');
-                                                if ( '' != $tag_list ) {
-                                                        $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
-                                                } else {
-                                                        $utility_text = __( 'This entry was posted in %1$s. Bookmark the &lt;a href=&quot;%3$s&quot; title=&quot;Permalink to %4$s&quot; rel=&quot;bookmark&quot;&gt;permalink&lt;/a&gt;.', 'twentyten' );
-                                                }
-                                                printf(
-                                                        $utility_text,
-                                                        get_the_category_list( ', ' ),
-                                                        $tag_list,
-                                                        get_permalink(),
-                                                        the_title_attribute( 'echo=0' )
-                                                );
-                                        ?&gt;
-
-&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
</del><ins>+                                                &lt;?php echo twentyten_posted_in(); ?&gt;
+                                                &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>
</div>

</body>
</html>