Changeset 29241
- Timestamp:
- 07/19/2014 02:43:27 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r28787 r29241 872 872 873 873 foreach ( (array) $comments as $comment) { 874 $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>'; 874 $output .= '<li class="recentcomments">'; 875 /* translators: comments widget: 1: comment author, 2: post link */ 876 $output .= sprintf( _x( '%1$s on %2$s', 'widgets' ), 877 '<span class="comment-author-link">' . get_comment_author_link() . '</span>', 878 '<a href="' . esc_url( get_comment_link( $comment->comment_ID ) ) . '">' . get_the_title( $comment->comment_post_ID ) . '</a>' 879 ); 880 $output .= '</li>'; 875 881 } 876 882 }
Note: See TracChangeset
for help on using the changeset viewer.