diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index f12565a95f..a5f96939d5 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -716,15 +716,23 @@ class WP_Comments_List_Table extends WP_List_Table { * @param WP_Comment $comment The comment object. */ public function column_date( $comment ) { - echo '
'; - echo ''; /* translators: 1: comment date, 2: comment time */ - printf( __( '%1$s at %2$s' ), + $submitted = sprintf( __( '%1$s at %2$s' ), /* translators: comment date format. See http://php.net/date */ get_comment_date( __( 'Y/m/d' ), $comment ), get_comment_date( __( 'g:i a' ), $comment ) ); - echo ''; + + echo '
'; + if ( 'approved' === wp_get_comment_status( $comment ) && ! empty ( $comment->comment_post_ID ) ) { + printf( + '%s', + esc_url( get_comment_link( $comment ) ), + $submitted + ); + } else { + echo $submitted; + } echo '
'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 2f39069bc8..286d0887d1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36520'; +$wp_version = '4.5-alpha-36521'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.