Changeset 9880
- Timestamp:
- 11/25/2008 09:14:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9879 r9880 1925 1925 1926 1926 if ( current_user_can( 'edit_post', $post->ID ) ) { 1927 $post_href = get_edit_post_link($post->ID); 1928 $post_link = "<a href='" . $post_href . "'>"; 1927 $post_link = "<a href='" . get_edit_post_link($post->ID) . "'>"; 1929 1928 $post_link .= get_the_title($comment->comment_post_ID) . '</a>'; 1930 1929 } else { 1931 $post_href = '';1932 1930 $post_link = get_the_title($comment->comment_post_ID); 1933 1931 } … … 1973 1971 echo "<td $attributes>"; 1974 1972 echo '<div id="submitted-on">'; 1975 if ( !empty($post_href) ) 1976 printf(__('Submitted on <a href="%1$s">%2$s at %3$s</a>'), $post_href, get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia'))); 1977 else 1978 printf(__('Submitted on %1$s at %2$s</a>'), get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia'))); 1973 printf(__('Submitted on <a href="%1$s">%2$s at %3$s</a>'), get_permalink($post->ID), get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia'))); 1979 1974 echo '</div>'; 1980 1975 comment_text(); ?>
Note: See TracChangeset
for help on using the changeset viewer.