Changeset 14347 for trunk/wp-includes/default-widgets.php
- Timestamp:
- 05/02/2010 10:53:59 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/default-widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r14326 r14347 645 645 <ul id="recentcomments"><?php 646 646 if ( $comments ) : foreach ( (array) $comments as $comment) : 647 echo '<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>';647 echo '<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="' . get_comment_link($comment->comment_ID) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>'; 648 648 endforeach; endif;?></ul> 649 649 <?php echo $after_widget; ?>
Note: See TracChangeset
for help on using the changeset viewer.