Changeset 7528
- Timestamp:
- 03/26/2008 07:35:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r7514 r7528 618 618 619 619 if ( current_user_can( 'edit_post', $post->ID ) ) { 620 if ( 'attachment' == $post->post_type ) 621 $post_link = "<a href='upload.php?attachment_id=$post->ID'>"; 622 elseif ( 'page' == $post->post_type ) 623 $post_link = "<a href='edit-pages.php?page_id=$post->ID'>"; 624 else 625 $post_link = "<a href='edit.php?p=$post->ID'>"; 620 $post_link = "<a href='" . get_comment_link() . "'>"; 626 621 627 622 $post_link .= get_the_title($comment->comment_post_ID) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.