Changeset 9247 for trunk/wp-admin/includes/template.php
- Timestamp:
- 10/19/2008 12:38:29 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9240 r9247 1786 1786 elseif ( 'trackback' == $type ) 1787 1787 $typesql = "AND comment_type = 'trackback'"; 1788 elseif ( 'pings' == $type ) 1789 $typesql = "AND ( comment_type = 'pingback' OR comment_type = 'trackback' )"; 1788 1790 else 1789 1791 $typesql = ''; … … 1944 1946 echo "<td $attributes>\n"; 1945 1947 echo ""$post_link" "; 1946 echo '<a href="edit-comments.php?p=' . $post->ID . '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />'; 1948 echo '<a href="edit-comments.php?p=' . $post->ID; 1949 if ( !empty($_GET['comment_type']) ) echo '&comment_type=' . htmlspecialchars( $_GET['comment_type'] ); 1950 echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />'; 1947 1951 echo get_the_time(__('Y/m/d \a\t g:ia')); 1948 1952 echo '</td>';
Note: See TracChangeset
for help on using the changeset viewer.