Changeset 6277 for trunk/wp-admin/includes/template.php
- Timestamp:
- 10/19/2007 06:39:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r6213 r6277 319 319 echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> '; 320 320 } 321 $post = get_post($comment->comment_post_ID, OBJECT, 'display'); 322 $post_title = wp_specialchars( $post->post_title, 'double' ); 323 $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; 324 ?> 325 ] — <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php echo $post_title; ?></a></p> 321 if ( !is_single() ) { 322 $post = get_post($comment->comment_post_ID, OBJECT, 'display'); 323 $post_title = wp_specialchars( $post->post_title, 'double' ); 324 $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; 325 ?> 326 ] — <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php echo $post_title; ?></a> 327 <?php } ?> 328 </p> 326 329 </li> 327 330 <?php
Note: See TracChangeset
for help on using the changeset viewer.