Ticket #27944: default-widgets.php.patch
File default-widgets.php.patch, 1.1 KB (added by , 11 years ago) |
---|
-
wp-includes/default-widgets.php
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'), '<cite class="author-name">' . get_comment_author_link() . '</cite>', '<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>';