Ticket #44360: 44360.class-wp-widget-recent-comments.php.diff
File 44360.class-wp-widget-recent-comments.php.diff, 834 bytes (added by , 7 years ago) |
---|
-
wp-includes/widgets/class-wp-widget-recent-comments.php
118 118 119 119 foreach ( (array) $comments as $comment ) { 120 120 $output .= '<li class="recentcomments">'; 121 /* translators: comments widget: 1: comment author, 2: post link */122 121 $output .= sprintf( 122 /* translators: comments widget: 1: comment author, 2: post link */ 123 123 _x( '%1$s on %2$s', 'widgets' ), 124 124 '<span class="comment-author-link">' . get_comment_author_link( $comment ) . '</span>', 125 125 '<a href="' . esc_url( get_comment_link( $comment ) ) . '">' . get_the_title( $comment->comment_post_ID ) . '</a>'