From 9f5043b6dc348479e6da9fe2b439ec54a9e6576e Mon Sep 17 00:00:00 2001 From: scribu Date: Mon, 29 Nov 2010 21:23:20 +0000 Subject: [PATCH] Link post title on comments for a single post screen. Fixes #15609 git-svn-id: https://develop.svn.wordpress.org/trunk@16619 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-comments.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 84822acb03..61d86333cf 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -126,7 +126,17 @@ require_once('./admin-header.php');
-

%s', + get_edit_post_link($post_id), + wp_html_excerpt(_draft_or_post_title($post_id), 50) + ) + ); +else + echo __('Comments'); + if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) printf( '' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ) . '' ); ?>