I18N: Remove <a>
tag from translatable string in wp-admin/includes/class-wp-comments-list-table.php
.
Props ramiy. Fixes #34686. git-svn-id: https://develop.svn.wordpress.org/trunk@35666 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7b6a8a5b7e
commit
23a74b7e4d
@ -714,14 +714,15 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
* @access public
|
||||
*/
|
||||
public function column_date( $comment ) {
|
||||
$comment_url = esc_url( get_comment_link( $comment ) );
|
||||
echo '<div class="submitted-on">';
|
||||
/* translators: 2: comment date, 3: comment time */
|
||||
printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
|
||||
echo '<a href="' . esc_url( get_comment_link( $comment ) ) . '">';
|
||||
/* translators: 1: comment date, 2: comment time */
|
||||
printf( __( '%1$s at %2$s' ),
|
||||
/* translators: comment date format. See http://php.net/date */
|
||||
get_comment_date( __( 'Y/m/d' ), $comment ),
|
||||
get_comment_date( get_option( 'time_format' ), $comment )
|
||||
);
|
||||
echo '</a>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user