From 69277a1e7cd938b7f0fe4b6a7f11c0a749637b2a 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: http://svn.automattic.com/wordpress/trunk@16619 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 84822acb0..61d86333c 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 ) ) . '' ); ?>