diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php
index e48cc01fe2a86387aaf32cab83a9457f30557cd8..16c98fe9e22357cc667a998cf61440a03ff93bf1 100644
a
|
b
|
class WP_Widget_Recent_Comments extends WP_Widget { |
870 | 870 | _prime_post_caches( $post_ids, strpos( get_option( 'permalink_structure' ), '%category%' ), false ); |
871 | 871 | |
872 | 872 | foreach ( (array) $comments as $comment) { |
873 | | $output .= '<li class="recentcomments">' . /* translators: comments widget: 1: comment author, 2: post link */ sprintf(_x('%1$s on %2$s', 'widgets'), get_comment_author_link(), '<a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>'; |
| 873 | $output .= '<li class="recentcomments">' . /* translators: comments widget: 1: comment author, 2: post link */ sprintf(_x('%1$s on %2$s', 'widgets'), '<span class="comment-author">' . get_comment_author_link() . '</span>', '<a href="' . esc_url( get_comment_link($comment->comment_ID) ) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>'; |
874 | 874 | } |
875 | 875 | } |
876 | 876 | $output .= '</ul>'; |