Changeset 9237
- Timestamp:
- 10/17/2008 10:31:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9223 r9237 1825 1825 1826 1826 if ( current_user_can( 'edit_post', $post->ID ) ) { 1827 $post_link = "<a href='" . get_ comment_link() . "'>";1827 $post_link = "<a href='" . get_edit_post_link($post->ID) . "'>"; 1828 1828 $post_link .= get_the_title($comment->comment_post_ID) . '</a>'; 1829 1829 } else { … … 1938 1938 break; 1939 1939 case 'response': 1940 if ( 'single' !== $mode ) 1941 echo "<td $attributes>"$post_link" " . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '<br />' . get_the_time(__('Y/m/d \a\t g:ia')) . '</td>'; 1940 echo "<td $attributes>\n"; 1941 echo ""$post_link" "; 1942 echo '<a href="edit-comments.php?p=' . $post->ID . '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />'; 1943 echo get_the_time(__('Y/m/d \a\t g:ia')); 1944 echo '</td>'; 1942 1945 } 1943 1946 }
Note: See TracChangeset
for help on using the changeset viewer.