<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,6 @@
   * Main footer area is now a widget field (r439)
   * Feed link for comments on search results (r427)
   * Search query now displays in search page title (r425)
-  * Content of `code` elements now resizes in &lt;acronym title=&quot;Internet Explorer&quot;&gt;IE&lt;/acronym&gt; (r423)
   * 'Description' `meta` element now uses excerpts where available (r421)
 
 #### Tweaks
@@ -34,6 +33,7 @@
   * Options page scripts now added via WP script loader (r460)
   * Edit links have been removed from footer blurb (r447, r450)
   * Navbar is now added via `th_header` hook (r435)
+  * Content of `code` elements now resizes in &lt;acronym title=&quot;Internet Explorer&quot;&gt;IE&lt;/acronym&gt; (r423)
   * Default feed type now used in preference to choosing a feed type (r420, r427)
   * `get_author_feed_link` deprecated (r418)
   * `get_category_feed_link` deprecated (r417)</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -63,9 +63,7 @@ if($comments || comments_open()) { ?&gt;
 					&lt;div class=&quot;secondary&quot;&gt;
 						&lt;p class=&quot;comment-permalink&quot;&gt;&lt;a href=&quot;#comment-&lt;?php comment_ID(); ?&gt;&quot; title=&quot;&lt;?php _e('Permalink to this comment','tarski'); ?&gt;&quot;&gt;&lt;?php echo tarski_comment_datetime(); ?&gt;&lt;/a&gt;&lt;/p&gt;
 						&lt;p class=&quot;comment-author vcard&quot;&gt;&lt;?php echo tarski_comment_author_link(); ?&gt;&lt;/p&gt;
-					&lt;?php if(get_option('show_avatars')) { ?&gt;
-						&lt;p class=&quot;avatar&quot;&gt;&lt;?php echo get_avatar(get_comment_author_email(), '50', get_bloginfo('template_directory') . '/images/avatar.gif'); ?&gt;&lt;/p&gt;
-					&lt;?php } ?&gt;
+						&lt;?php echo get_avatar(get_comment_author_email(), '50'); ?&gt;
 						&lt;?php edit_comment_link(__('edit','tarski'), '&lt;p class=&quot;comment-edit&quot;&gt;(', ')&lt;/p&gt;'); ?&gt;
 					&lt;/div&gt; &lt;!-- /comment meta --&gt;
 </diff>
      <filename>comments.php</filename>
    </modified>
    <modified>
      <diff>@@ -231,6 +231,13 @@ function tidy_openid_names($comment_author) {
 	return $comment_author;
 }
 
+function remove_default_avatars($avatar, $id_or_email, $size, $default) {
+	if ( $avatar == &quot;&lt;img alt='' src='{$default}' /&gt;&quot; )
+		return false;
+	else
+		return $avatar;
+}
+
 /**
  * tarski_comment_author_link() - Returns a comment author's name, wrapped in a link if present.
  * </diff>
      <filename>library/helpers/content_helper.php</filename>
    </modified>
    <modified>
      <diff>@@ -77,6 +77,7 @@ add_action('admin_menu', 'tarski_addmenu');
 add_action('admin_head', 'tarski_resave_show_authors');
 add_action('save_post', 'flush_tarski_recent_entries');
 add_action('deleted_post', 'flush_tarski_recent_entries');
+add_action('switch_theme', 'flush_tarski_recent_entries');
 
 // Header
 add_action('wp_head', array('Asset', 'init'));
@@ -107,6 +108,7 @@ add_action('th_sidebar', 'tarski_sidebar', 10);
 
 // Comments
 add_filter('get_comment_author', 'tidy_openid_names');
+add_filter('get_avatar', 'remove_default_avatars', 10, 4);
 
 // Footer
 add_action('th_fsidebar', 'tarski_footer_sidebar');</diff>
      <filename>library/launcher.php</filename>
    </modified>
    <modified>
      <diff>@@ -33,10 +33,11 @@ function tarski_recent_entries() {
 	
 	if ( $r-&gt;have_posts() ) {
 		include(TARSKIWIDGETS . '/recent_articles_display.php');
+		unset($r);
 		wp_reset_query();  // Restore global post data stomped by the_post().
 	}
 	
-	wp_cache_add('tarski_recent_entries', ob_get_flush());
+	wp_cache_add('tarski_recent_entries', ob_get_flush(), 'widget');
 }
 
 /**</diff>
      <filename>library/widgets/recent_articles.php</filename>
    </modified>
    <modified>
      <diff>@@ -2,15 +2,15 @@
 	&lt;h3&gt;&lt;?php _e('Recent Articles','tarski'); ?&gt;&lt;/h3&gt;
 	&lt;ul&gt;
 		&lt;?php while ($r-&gt;have_posts()) : $r-&gt;the_post(); ?&gt;
-			&lt;li&gt;
-				&lt;h4 class=&quot;recent-title&quot;&gt;&lt;a title=&quot;&lt;?php _e('View this post', 'tarski'); ?&gt;&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php the_title() ?&gt;&lt;/a&gt;&lt;/h4&gt;
-				&lt;p class=&quot;recent-metadata&quot;&gt;&lt;?php
-				echo tarski_date();
-				if(!get_tarski_option('hide_categories')) {
-					_e(' in ', 'tarski'); the_category(', ');
-				} ?&gt;&lt;/p&gt;
-				&lt;div class=&quot;recent-excerpt content&quot;&gt;&lt;?php tarski_excerpt(); ?&gt;&lt;/div&gt;
-			&lt;/li&gt;
+		&lt;li&gt;
+			&lt;h4 class=&quot;recent-title&quot;&gt;&lt;a title=&quot;&lt;?php _e('View this post', 'tarski'); ?&gt;&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php the_title() ?&gt;&lt;/a&gt;&lt;/h4&gt;
+			&lt;p class=&quot;recent-metadata&quot;&gt;&lt;?php
+			echo tarski_date();
+			if(!get_tarski_option('hide_categories')) {
+				_e(' in ', 'tarski'); the_category(', ');
+			} ?&gt;&lt;/p&gt;
+			&lt;div class=&quot;recent-excerpt content&quot;&gt;&lt;?php tarski_excerpt(); ?&gt;&lt;/div&gt;
+		&lt;/li&gt;
 		&lt;?php endwhile; ?&gt;
 	&lt;/ul&gt;
 &lt;/div&gt; &lt;!-- /recent --&gt;
\ No newline at end of file</diff>
      <filename>library/widgets/recent_articles_display.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,6 @@
 &lt;div id=&quot;sidebar&quot; class=&quot;secondary&quot;&gt;
 
 	&lt;?php th_sidebar(); // The magical sidebar hook ?&gt;
+	&lt;?php $wp_the_query-&gt;current_post--; setup_postdata($wp_query-&gt;next_post()); // Reset post data for comments ?&gt;
 	
 &lt;/div&gt;
\ No newline at end of file</diff>
      <filename>sidebar.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d836fba9866132de85f5789c17803560329c8023</id>
    </parent>
  </parents>
  <author>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </author>
  <url>http://github.com/ionfish/tarski/commit/0a0641efc91fb6c5a6517206120f381a2ac6843c</url>
  <id>0a0641efc91fb6c5a6517206120f381a2ac6843c</id>
  <committed-date>2008-03-09T10:16:13-07:00</committed-date>
  <authored-date>2008-03-09T10:16:13-07:00</authored-date>
  <message>Added sidebar hack back in; added filter for avatars to hide default images

git-svn-id: https://tarski.googlecode.com/svn/trunk@505 8ec1c81d-c82d-0410-ab24-9d07384f4a97</message>
  <tree>980179bf7ce866fce535f4467b2810aafc7ffa7b</tree>
  <committer>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </committer>
</commit>
