Changeset 5998 for trunk/wp-admin/includes/template.php
- Timestamp:
- 08/31/2007 11:55:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r5964 r5998 287 287 echo " | <a href=\"" . wp_nonce_url("comment.php?action=deletecomment&dt=spam&p=" . $comment->comment_post_ID . "&c=" . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to mark as spam this comment by '%s'.\n'Cancel' to stop, 'OK' to mark as spam."), $comment->comment_author)) . "', theCommentList );\">" . __('Spam') . "</a> "; 288 288 } 289 $post = get_post($comment->comment_post_ID );289 $post = get_post($comment->comment_post_ID, OBJECT, 'display'); 290 290 $post_title = wp_specialchars( $post->post_title, 'double' ); 291 291 $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title;
Note: See TracChangeset
for help on using the changeset viewer.