diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/edit-form-comment.php --- a/wp/wp-admin/edit-form-comment.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/edit-form-comment.php Tue Jun 09 03:35:32 2015 +0200 @@ -13,11 +13,9 @@
comment_ID) ?>
-

- @@ -29,11 +27,11 @@
- + - + - + @@ -71,7 +71,7 @@
-

+

@@ -99,14 +99,40 @@
%1$s'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); ?>  
+ +comment_post_ID; +if ( current_user_can( 'edit_post', $post_id ) ) { + $post_link = ""; + $post_link .= esc_html( get_the_title( $post_id ) ) . ''; +} else { + $post_link = esc_html( get_the_title( $post_id ) ); +} +?> + +
+ %s' ), $post_link ); ?> +
+ +comment_parent ) : + $parent = get_comment( $comment->comment_parent ); + $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); + $name = get_comment_author( $parent->comment_ID ); +?> +
+ %2$s' ), $parent_link, $name ); ?> +
+ +
@@ -127,18 +153,27 @@
- + @@ -147,6 +182,8 @@
+ +
comment_author_email ) { @@ -44,12 +42,14 @@ ?>
comment_author_url ) && 'http://' != $comment->comment_author_url ) { $link = '' . __('visit site') . ''; - printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); + $author = get_comment_author( $comment->comment_ID ); + /** This filter is documented in wp-includes/comment-template.php */ + printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link, $author, $comment->comment_ID ) ); } else { _e( 'URL:' ); } ?>