" . sprintf(__('%s comments deleted.'), $i) . "
* | ' . __('Name') . ' | ' . __('E-mail') . ' | ' . __('IP') . ' | ' . __('Comment Excerpt') . ' | ' . __('Actions') . ' | ||
---|---|---|---|---|---|---|---|
comment_post_ID) ) { ?> | comment_post_ID) ) { echo "" . __('Edit') . ""; } ?> | comment_post_ID) ) { echo "comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), $comment->comment_author) . "')\" class='delete'>" . __('Delete') . ""; } ?> |
')" />
comment_author_email) { ?>| comment_author_url) { ?> | |
comment_post_ID) ) { echo " | comment_ID."\">" . __('Edit Comment') . ""; } if ( user_can_delete_post_comments($user_ID, $comment->comment_post_ID) ) { echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), $comment->comment_author) . "')\">" . __('Delete Comment') . " — "; } // end if any comments to show // Get post title if ( user_can_edit_post($user_ID, $comment->comment_post_ID) ) { $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = $comment->comment_post_ID"); $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; ?> |