Changeset 7251 for trunk/wp-admin/includes/template.php
- Timestamp:
- 03/11/2008 09:09:07 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r7231 r7251 305 305 $posts_columns['date'] = _c('Date Added|media column header'); 306 306 $posts_columns['parent'] = _c('Appears with|media column header'); 307 $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>'; 307 308 $posts_columns['location'] = _c('Location|media column header'); 308 309 $posts_columns = apply_filters('manage_media_columns', $posts_columns); … … 600 601 $the_comment_status = wp_get_comment_status($comment->comment_ID); 601 602 $class = ('unapproved' == $the_comment_status) ? 'unapproved' : ''; 602 $post_link = '<a href="edit.php?p=' . $comment->comment_post_ID . '">' . get_the_title($comment->comment_post_ID) . '</a>'; 603 if ( 'attachment' == $post->post_type ) 604 $post_link = "<a href='upload.php?attachment_id=$post->ID'>"; 605 elseif ( 'page' == $post->post_type ) 606 $post_link = "<a href='edit-pages.php?page_id=$post->ID'>"; 607 else 608 $post_link = "<a href='edit.php?p=$post->ID'>"; 609 $post_link .= get_the_title($comment->comment_post_ID) . '</a>'; 603 610 $author_url = get_comment_author_url(); 604 611 if ( 'http://' == $author_url )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)