<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,9 +18,11 @@
     &lt;a id=&quot;leavecomment&quot; href=&quot;#respond&quot; title=&quot;&lt;?php _e('Leave One', 'vigilance'); ?&gt;&quot;&gt;&lt;?php _e('leave one &amp;rarr;', 'vigilance'); ?&gt;&lt;/a&gt;
   &lt;?php endif; ?&gt;
   &lt;/div&gt;&lt;!--end comment-number--&gt;
-  &lt;ol class=&quot;commentlist&quot;&gt;
-    &lt;?php wp_list_comments('type=comment&amp;callback=custom_comment'); ?&gt;
-  &lt;/ol&gt;
+  &lt;?php if ( ! empty($comments_by_type['comment']) ) : ?&gt;
+    &lt;ol class=&quot;commentlist&quot;&gt;
+      &lt;?php wp_list_comments('type=comment&amp;callback=custom_comment'); ?&gt;
+    &lt;/ol&gt;
+  &lt;?php endif; ?&gt;
   &lt;div class=&quot;navigation&quot;&gt;
     &lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_comments_link(__ ('&amp;laquo; Older Comments', 'vigilance')) ?&gt;&lt;/div&gt;
     &lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_comments_link(__ ('Newer Comments &amp;raquo;', 'vigilance')) ?&gt;&lt;/div&gt;</diff>
      <filename>comments.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8f23c4706a04dc715f6d8b508aca959d7a422328</id>
    </parent>
  </parents>
  <author>
    <name>dstrojny</name>
    <email>dstrojny@jestro.com</email>
  </author>
  <url>http://github.com/jestro/vigilance/commit/78135d121e311e219baee0cb55fb3929d86159d3</url>
  <id>78135d121e311e219baee0cb55fb3929d86159d3</id>
  <committed-date>2009-10-19T20:51:42-07:00</committed-date>
  <authored-date>2009-10-19T20:51:42-07:00</authored-date>
  <message>fix empty comment ol when trackbacks/pingbacks exist alongside no comments</message>
  <tree>2cd81066e0c3a7ad74c6ddc26285812926b0edc1</tree>
  <committer>
    <name>dstrojny</name>
    <email>dstrojny@jestro.com</email>
  </committer>
</commit>
